diff --git a/themes/intotheeast/css/style.css b/themes/intotheeast/css/style.css index 254c3f6..790db93 100644 --- a/themes/intotheeast/css/style.css +++ b/themes/intotheeast/css/style.css @@ -97,6 +97,7 @@ body::after { border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-8); transition: background 0.15s; + scroll-margin-top: calc(var(--site-header-height) + var(--space-4)); } /* Card: photo variant */ @@ -163,6 +164,7 @@ body::after { .journal-post { border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-8); + scroll-margin-top: calc(var(--site-header-height) + var(--space-4)); } .journal-post-header {