fix: Heading anchor position changed _again_
This commit is contained in:
@ -98,7 +98,7 @@ const StyledEditor = styled(RichMarkdownEditor)`
|
|||||||
}
|
}
|
||||||
|
|
||||||
.heading-name {
|
.heading-name {
|
||||||
cursor: default;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* pseudo element allows us to add spacing for fixed header */
|
/* pseudo element allows us to add spacing for fixed header */
|
||||||
@ -110,10 +110,6 @@ const StyledEditor = styled(RichMarkdownEditor)`
|
|||||||
margin: -72px 0 0;
|
margin: -72px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading-anchor {
|
|
||||||
margin-top: 72px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.heading-name:first-child {
|
.heading-name:first-child {
|
||||||
& + h1,
|
& + h1,
|
||||||
& + h2,
|
& + h2,
|
||||||
|
Reference in New Issue
Block a user