diff --git a/src/pages/blog/[slug]/blog.styled.js b/src/pages/blog/[slug]/blog.styled.js index dbbebdafe..49e63805c 100644 --- a/src/pages/blog/[slug]/blog.styled.js +++ b/src/pages/blog/[slug]/blog.styled.js @@ -156,8 +156,7 @@ export const Editor = styled.div` h4, h5, h6 { - padding-top: ${anchorScrollOffset}px; - margin-top: -${anchorScrollOffset}px; + offset: ${anchorScrollOffset}px; } `;