From 71f8629d1836a95727779970f9ae51c34b1c9e88 Mon Sep 17 00:00:00 2001 From: Mischa Date: Sun, 21 Jun 2026 20:33:57 +0200 Subject: [PATCH] fix(scroll): add scroll-margin-top to all feed entry types Offsets scroll targets by header height + 1rem so marker clicks land below the sticky nav, not behind it. Applies to both .journal-post and .entry-card (story cards). Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr --- themes/intotheeast/css/style.css | 2 ++ 1 file changed, 2 insertions(+) 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 {