diff --git a/frontend/components/Editor/Editor.js b/frontend/components/Editor/Editor.js index 659cb4b2..14013f46 100644 --- a/frontend/components/Editor/Editor.js +++ b/frontend/components/Editor/Editor.js @@ -246,22 +246,6 @@ const StyledEditor = styled(Editor)` h5, h6 { font-weight: 500; - - .anchor { - visibility: hidden; - color: #dedede; - padding-left: 0.25em; - } - - &:hover { - .anchor { - visibility: visible; - - &:hover { - color: #cdcdcd; - } - } - } } h1:first-of-type { diff --git a/frontend/components/Editor/components/Heading.js b/frontend/components/Editor/components/Heading.js index c8ceb446..a107a30a 100644 --- a/frontend/components/Editor/components/Heading.js +++ b/frontend/components/Editor/components/Heading.js @@ -72,6 +72,7 @@ export const Heading1 = styled(Heading)` &:hover { ${Anchor} { visibility: visible; + text-decoration: none; } } `;