mirror of
https://github.com/outline/outline.git
synced 2026-11-27 07:58:51 +03:00
fix: Consistent spacing when first item in document is a header
This commit is contained in:
1 parent
5d0dd9b734
commit
85dd54db3d
1 file changed
+9
@@ -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};
|
||||
|
||||
Reference in new issue
Block a user