From d392b560d9d626da07f717107ffcad5309abf0c1 Mon Sep 17 00:00:00 2001 From: Jagger <634750802@qq.com> Date: Mon, 26 Aug 2024 16:02:42 +0800 Subject: [PATCH] update --- src/pages/blog/[slug]/blog.styled.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } `;