Fix header position shift when becoming sticky

Move header outside .container so it spans full viewport width
with its own padding, eliminating layout shift on scroll.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 19:49:00 +03:00
parent 155bbdbc24
commit 2d847beefa
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 0 8px;
padding: 8px 20px;
position: sticky;
top: 0;
z-index: 100;