fix: Offset heading styles
This commit is contained in:
@ -105,11 +105,15 @@ const StyledEditor = styled(RichMarkdownEditor)`
|
||||
/* ref: https://stackoverflow.com/a/28824157 */
|
||||
.heading-name::before {
|
||||
content: "";
|
||||
display: block;
|
||||
display: ${(props) => (props.readOnly ? "block" : "none")};
|
||||
height: 72px;
|
||||
margin: -72px 0 0;
|
||||
}
|
||||
|
||||
.heading-anchor {
|
||||
margin-top: 72px !important;
|
||||
}
|
||||
|
||||
p {
|
||||
a {
|
||||
color: ${(props) => props.theme.text};
|
||||
|
Reference in New Issue
Block a user