Garde-fou overflow-x: clip (débordement transitoire 360 px au chargement)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 changed file +5 −0
modified
frontend/src/styles.css
+5 −0
@@ -39,6 +39,11 @@ button { font-family: inherit; } | ||
| 39 | 39 | |
| 40 | 40 | .mono { font-family: var(--font-mono); } |
| 41 | 41 | |
| 42 | +/* Garde-fou : jamais de défilement horizontal de la page, même transitoire | |
| 43 | + pendant le chargement (bandeau défilant, polices) — clip ne casse pas | |
| 44 | + position: sticky, contrairement à hidden. */ | |
| 45 | +html, body { overflow-x: clip; } | |
| 46 | + | |
| 42 | 47 | /* ================= Header ================= */ |
| 43 | 48 | .header { |
| 44 | 49 | position: sticky; top: 0; z-index: 50; |
| 45 | 50 | |