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 | 91 | /* ---- Socle ---- */ |
| 92 | 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 | 97 | body { |
| 95 | 98 | margin: 0; |
| 96 | 99 | background: var(--paper); |
| 97 | 100 | |