Skip to content

Commit 36f7fd3

Browse files
committed
Finally margin fix
1 parent 3a6f1f2 commit 36f7fd3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

web/src/styles/custom.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,7 @@ td {
221221
background-color: var(--sl-color-bg-inline-code);
222222
}
223223

224-
.sl-markdown-content :not(h1, h2, h3, h4, h5, h6, .sl-heading-wrapper) + :is(.sl-heading-wrapper) {
225-
margin-top: 1.5em;
226-
}
227-
228-
.sl-markdown-content :not(a, strong, em, del, span, input, code, br) + :not(a, strong, em, del, span, input, code, br, :where(.not-content *)) {
229-
margin-top: 1em;
224+
.sl-heading-wrapper {
225+
margin-top: 0.5em;
226+
margin-bottom: 0.5em;
230227
}

0 commit comments

Comments
 (0)