Files
Toiminnanohjaus/resources/views/layouts
petriandClaude Opus 5.5 60cab4b871 Keep the header at the top of the window on wider screens
The signed-in header is sticky from the md breakpoint up, so only the
page content scrolls; on phones and at high zoom it still scrolls with
the page, where a wrapped sticky header would take too much of the view.
A small layout script sets scroll-padding-top to the header's height
while it is sticky, so focused elements, anchors and the skip link
target land below it (WCAG 2.4.11).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 07:18:55 +02:00
..