Skip to content

Commit

Permalink
prevent auto-zooming on input fields on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
zr0w1 committed Dec 7, 2024
1 parent 7c82683 commit 8ebafaf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/chat/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ hr {
fill: a.$color-surface-dark4;
}

/* Mobile viewports only */
@media only screen and (max-width: 450px) {
input,
textarea {
font-size: 16px;
}
}

/* Small screen, non-retina */
@media only screen and (min-width: 320px) {
body:not(.pref-fontscale) {
Expand Down

0 comments on commit 8ebafaf

Please sign in to comment.