mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-19 10:14:52 +00:00
fix: spacing issue with nested lists in Experience widget
Original style wasn't intended for nested lists to be used within card text. Fix #1979
This commit is contained in:
1 parent
58c7dd7a0a
commit
c8ceff11dd
1 file changed
+2
-1
@@ -402,7 +402,8 @@ ul.ul-edu li .description p.institution {
|
|||||||
color: rgb(248, 248, 242) !important;
|
color: rgb(248, 248, 242) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .card-text ul {
|
// For a UL after P, remove the spacing between (P margin-bottom) without affecting any nested lists.
|
||||||
|
.card .card-text p + ul {
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
margin-bottom: 0rem;
|
margin-bottom: 0rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user