fix: Heading anchor position changed _again_

This commit is contained in:
Tom Moor
2020-11-12 22:02:19 -08:00
parent 85dd54db3d
commit 32d3053002

View File

@ -98,7 +98,7 @@ const StyledEditor = styled(RichMarkdownEditor)`
}
.heading-name {
cursor: default;
pointer-events: none;
}
/* pseudo element allows us to add spacing for fixed header */
@ -110,10 +110,6 @@ const StyledEditor = styled(RichMarkdownEditor)`
margin: -72px 0 0;
}
.heading-anchor {
margin-top: 72px !important;
}
.heading-name:first-child {
& + h1,
& + h2,