diff --git a/src/styles/default.scss b/src/styles/default.scss index 0860015..968f20b 100644 --- a/src/styles/default.scss +++ b/src/styles/default.scss @@ -11,8 +11,8 @@ body { box-sizing: border-box; } -:root { - scroll-padding-top: var(--header-height, 0); +:target { + scroll-margin-top: var(--header-height, 0); } .g-root {