fix: disable iOS zoom with CSS touch-action

This commit is contained in:
Alexej Wolff
2026-02-11 16:17:06 +01:00
parent 0383a568fe
commit dc3fca5cc6
+14
View File
@@ -2,6 +2,11 @@
box-sizing: border-box; box-sizing: border-box;
} }
html {
touch-action: pan-x pan-y;
-ms-touch-action: pan-x pan-y;
}
:root { :root {
font-family: font-family:
"Inter", "Inter",
@@ -29,6 +34,15 @@ body {
margin: 0; margin: 0;
min-width: 320px; min-width: 320px;
min-height: 100vh; 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 { a {