fix: Consistent spacing when first item in document is a header

This commit is contained in:
Tom Moor 2020-11-12 21:51:20 -08:00
parent 5d0dd9b734
commit 85dd54db3d
1 changed files with 9 additions and 0 deletions

View File

@ -114,6 +114,15 @@ const StyledEditor = styled(RichMarkdownEditor)`
margin-top: 72px !important;
}
.heading-name:first-child {
& + h1,
& + h2,
& + h3,
& + h4 {
margin-top: 0;
}
}
p {
a {
color: ${(props) => props.theme.text};