From dc3fca5cc6c615b03de308ad1bb794e54e085a30 Mon Sep 17 00:00:00 2001 From: Alexej Wolff Date: Wed, 11 Feb 2026 16:17:06 +0100 Subject: [PATCH] fix: disable iOS zoom with CSS touch-action --- src/index.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/index.css b/src/index.css index f8af7b1..a62ce7f 100644 --- a/src/index.css +++ b/src/index.css @@ -2,6 +2,11 @@ box-sizing: border-box; } +html { + touch-action: pan-x pan-y; + -ms-touch-action: pan-x pan-y; +} + :root { font-family: "Inter", @@ -29,6 +34,15 @@ body { margin: 0; min-width: 320px; min-height: 100vh; + touch-action: pan-x pan-y; + -webkit-text-size-adjust: 100%; +} + +/* Prevent iOS zoom on input focus */ +input, +textarea, +select { + font-size: 16px !important; } a {