fix: Consistent spacing when first item in document is a header
This commit is contained in:
@ -114,6 +114,15 @@ const StyledEditor = styled(RichMarkdownEditor)`
|
|||||||
margin-top: 72px !important;
|
margin-top: 72px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.heading-name:first-child {
|
||||||
|
& + h1,
|
||||||
|
& + h2,
|
||||||
|
& + h3,
|
||||||
|
& + h4 {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
a {
|
a {
|
||||||
color: ${(props) => props.theme.text};
|
color: ${(props) => props.theme.text};
|
||||||
|
Reference in New Issue
Block a user