fix: Update font-size/width to fix iOS input zoom (#3894)

This commit is contained in:
Pranav Raj S 2022-02-03 10:11:02 +05:30 committed by GitHub
parent 903072ef14
commit dbb50e5923
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -15,9 +15,9 @@ $input-height: $space-two * 2;
color: $color-body;
display: block;
font-family: $font-family;
font-size: $font-size-default;
font-size: $font-size-medium;
height: $input-height;
line-height: 1.3;
line-height: 1.5;
max-width: 100%;
outline: none;
padding: $space-smaller;

View file

@ -196,7 +196,8 @@ export default {
max-height: 2.4 * $space-mega;
resize: none;
padding: 0;
padding-top: $space-small;
padding-top: $space-smaller;
padding-bottom: $space-smaller;
margin-top: $space-small;
margin-bottom: $space-small;
}

View file

@ -103,7 +103,7 @@ export default {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
padding: $space-one;
width: auto;
width: 100%;
&.error {
border-color: $color-error;