fix: prevent iOS auto-zoom on input focus
Bump .input-field font-size to 1rem (16px) on mobile so iOS Safari does not auto-zoom the viewport when focusing text inputs, number inputs, or searchable selects.
This commit is contained in:
parent
55addb200c
commit
1f21dc27af
1 changed files with 6 additions and 0 deletions
|
|
@ -179,6 +179,12 @@ input.input-field[type="number"] {
|
||||||
box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.15);
|
box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.input-field {
|
||||||
|
font-size: 1rem; /* 16px — prevents iOS Safari auto-zoom on focus */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.btn-adjust {
|
.btn-adjust {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue