From 32d30530020168e90ed3ffa852d49c8c6947a9fc Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 12 Nov 2020 22:02:19 -0800 Subject: [PATCH] fix: Heading anchor position changed _again_ --- app/components/Editor.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/components/Editor.js b/app/components/Editor.js index 22c5b9492..8d8ee91cc 100644 --- a/app/components/Editor.js +++ b/app/components/Editor.js @@ -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,