integration: collapse the mobile nav after hydration and keep fragment targets clear of the sticky header

SSR still ships the expanded menu, but phones collapse it after render, stop sticking the header below md, and use the header-offset token so case anchors no longer sit underneath the bar.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 19:32:13 +02:00
parent 271df12334
commit 1d2965a7ff
7 changed files with 304 additions and 19 deletions

View File

@@ -14,7 +14,7 @@
}
.site-header {
position: sticky;
position: relative;
top: 0;
z-index: 10;
padding-block: var(--space-3);
@@ -157,6 +157,10 @@
}
@include bp.respond-to(md) {
.site-header {
position: sticky;
}
.nav-toggle {
display: none;
}