fix(presentation): keep back-navigation scroll and open hash targets (08-08)

A direct link to /page#target stayed at the top: the target renders with the
lazy page, after the router scrolled up. PageHeader now scrolls to it below
the sticky header, focus never scrolls, and POP no longer scrolls to top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DongHyeonka
2026-09-26 01:01:52 +09:00
co-authored by Claude Opus 5.5
parent b7fc7e53ce
commit dbe6b769bf
5 changed files with 79 additions and 7 deletions
+5
View File
@@ -27,6 +27,11 @@
transform: translateY(0);
}
/* 08-08. Hash targets land below the sticky 4.5rem header. */
html {
scroll-padding-top: 4.5rem;
}
.app-shell {
display: grid;
min-height: 100vh;