remove any margin on first MD item (#109)
[Fixes #75, issue when articles start with an H2 had extra margin between the H1 section and the starting H2.
This commit is contained in:
parent
123b299345
commit
367e7c6e03
@ -116,7 +116,7 @@ const DocPage: NextPage<Props> = ({ frontmatter, content, navLinks, lastModified
|
||||
</Stack>
|
||||
|
||||
<Flex width='100%' placeContent='space-between'>
|
||||
<Stack maxW='768px'>
|
||||
<Stack maxW='768px' sx={{ "*:first-child": { marginTop: '0 !important' } }}>
|
||||
<ReactMarkdown
|
||||
remarkPlugins={[gfm]}
|
||||
rehypePlugins={[rehypeRaw]}
|
||||
|
Loading…
Reference in New Issue
Block a user