Skip to content

Commit 24790af

Browse files
committed
fix: correct the margin of list
1 parent f26effd commit 24790af

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,17 @@
1515
margin-top: 0.5rem;
1616
}
1717

18-
*:last-child {
19-
margin-bottom: 0;
18+
> *:last-child {
19+
margin-bottom: 0 !important;
2020
}
2121
}
2222

2323
.hb-content {
2424
ol,
2525
ul {
2626
li {
27-
margin-bottom: 0.25rem;
28-
29-
&:last-child {
30-
margin-bottom: 1rem;
27+
p {
28+
margin-bottom: 0;
3129
}
3230
}
3331
}

0 commit comments

Comments
 (0)