fix: Update font-size/width to fix iOS input zoom (#3894)
This commit is contained in:
parent
903072ef14
commit
dbb50e5923
3 changed files with 5 additions and 4 deletions
|
@ -15,9 +15,9 @@ $input-height: $space-two * 2;
|
||||||
color: $color-body;
|
color: $color-body;
|
||||||
display: block;
|
display: block;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
font-size: $font-size-default;
|
font-size: $font-size-medium;
|
||||||
height: $input-height;
|
height: $input-height;
|
||||||
line-height: 1.3;
|
line-height: 1.5;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
outline: none;
|
outline: none;
|
||||||
padding: $space-smaller;
|
padding: $space-smaller;
|
||||||
|
|
|
@ -196,7 +196,8 @@ export default {
|
||||||
max-height: 2.4 * $space-mega;
|
max-height: 2.4 * $space-mega;
|
||||||
resize: none;
|
resize: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-top: $space-small;
|
padding-top: $space-smaller;
|
||||||
|
padding-bottom: $space-smaller;
|
||||||
margin-top: $space-small;
|
margin-top: $space-small;
|
||||||
margin-bottom: $space-small;
|
margin-bottom: $space-small;
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,7 @@ export default {
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
border-top-right-radius: 0;
|
border-top-right-radius: 0;
|
||||||
padding: $space-one;
|
padding: $space-one;
|
||||||
width: auto;
|
width: 100%;
|
||||||
|
|
||||||
&.error {
|
&.error {
|
||||||
border-color: $color-error;
|
border-color: $color-error;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue