Skip to content

Commit 01c997e

Browse files
committed
style: add top margin to article headings
1 parent 800cccd commit 01c997e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/components/wiki/Heading.astro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ export interface Props {
8282
}
8383
}
8484

85+
:global(h2),
86+
:global(h3),
87+
:global(h4),
88+
:global(h5),
89+
:global(h6) {
90+
margin-top: 1em;
91+
}
92+
8593
&:target {
8694
:global(h1),
8795
:global(h2),

0 commit comments

Comments
 (0)