tokens.css : overflow-x clip aussi sur html (quirk WebKit iOS — le clip sur body seul laisse défiler le viewport)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 changed file +4 −1
modified
frontend/src/ka/tokens.css
+4 −1
@@ -90,7 +90,10 @@ | |||||
| 90 | 90 | ||||
| 91 | /* ---- Socle ---- */ | 91 | /* ---- Socle ---- */ | ||
| 92 | * { box-sizing: border-box; } | 92 | * { box-sizing: border-box; } | ||
| 93 | −html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; } | 93 | +/* overflow-x: clip sur html ET body — sur WebKit iOS, clip posé sur body seul | ||
| 94 | + ne bloque PAS le défilement latéral du viewport (quirk de propagation) ; | ||||
| 95 | + clip (≠ hidden) ne casse pas position:sticky. */ | ||||
| 96 | +html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; } | ||||
| 94 | body { | 97 | body { | ||
| 95 | margin: 0; | 98 | margin: 0; | ||
| 96 | background: var(--paper); | 99 | background: var(--paper); | ||
| 97 | 100 | ||||