Skip to content

Commit d2159a4

Browse files
committed
fix spacing between title and content in sidebar block with simple content model
1 parent 8e9b822 commit d2159a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/css/doc.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,10 +755,11 @@
755755
font-size: calc(22.5 / var(--rem-base) * 1rem);
756756
font-weight: var(--alt-heading-font-weight);
757757
line-height: 1.3;
758-
margin-bottom: -0.3em;
758+
margin-bottom: 0.5rem;
759759
text-align: center;
760760
}
761761

762+
.doc .sidebarblock > .content > .title + *,
762763
.doc .sidebarblock > .content > :not(.title):first-child {
763764
margin-top: 0;
764765
}

0 commit comments

Comments
 (0)