Skip to content

Commit 28811cf

Browse files
committed
fix: adjust margins for nested lists
1 parent 6480b08 commit 28811cf

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

assets/hb/modules/blog/scss/post/_content.scss

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,20 @@
1515
margin-top: 0.5rem;
1616
}
1717

18-
:last-child {
18+
*:last-child {
1919
margin-bottom: 0;
2020
}
2121
}
22+
23+
.hb-content {
24+
ol,
25+
ul {
26+
li {
27+
margin-bottom: 0.25rem;
28+
29+
&:last-child {
30+
margin-bottom: 1rem;
31+
}
32+
}
33+
}
34+
}

0 commit comments

Comments
 (0)