fix: scrollbar permanente pour éviter le décalage de largeur entre pages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Alpinux 2026-05-06 11:04:38 +02:00
parent 8627bb1143
commit 0bfe6336f0

View file

@ -11,6 +11,7 @@
} }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-y: scroll; } /* scrollbar toujours présente → pas de décalage entre pages */
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; } body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; } main { flex: 1; }
a { color: var(--blue); text-decoration: none; } a { color: var(--blue); text-decoration: none; }