fix: prevent iOS zoom on input focus and pinch-to-zoom

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
arkonandClaude Opus 4.6 committed 2026-02-26 00:33:13 +01:00
1 parent 209cc74514
commit c0368fc1a9
3 files changed
+33 -1

No files matched your search

+18
View File
@@ -20,6 +20,24 @@ html.mobile-init .file-browser-panel {
display: none !important;
}
/* ============================================================================
iOS Zoom Prevention (all mobile/tablet sizes)
iOS Safari ignores user-scalable=no since iOS 10.
font-size >= 16px on inputs prevents auto-zoom on focus.
touch-action: manipulation prevents double-tap zoom.
============================================================================ */
@media (max-width: 768px) {
/* Prevent iOS auto-zoom on input focus (triggers at font-size < 16px) */
input, textarea, select {
font-size: 16px !important;
}
/* Prevent double-tap zoom globally */
html {
touch-action: manipulation;
}
}
/* ============================================================================
Tablet Breakpoint (430px - 768px)
============================================================================ */