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