Skip to content

Commit

Permalink
Fix heading style
Browse files Browse the repository at this point in the history
  • Loading branch information
nderkim authored and dcousens committed Nov 16, 2022
1 parent b0eb55c commit 56a56c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/markdown/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ const Heading = (props: HeadingProps) => {
store.add(nodeKey, { key: nodeKey, label, level, path: `#${slug}` });
}
const css = {
marginTop: 0,
'&:not(:first-of-type)': { marginTop: 30 },
'&:first-child': { marginTop: 0 },
};

return linkify ? (
Expand Down

0 comments on commit 56a56c4

Please sign in to comment.