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:
co-authored by
Claude Opus 5.5
parent
b7fc7e53ce
commit
dbe6b769bf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user