fix: disable iOS zoom with CSS touch-action
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user