mirror of
https://github.com/primer/css.git
synced 2024-12-25 23:23:47 +03:00
increase input font-size to 16px on mobile
This commit is contained in:
parent
e291421ee7
commit
f1abbe2333
@ -19,7 +19,7 @@ label {
|
|||||||
.form-select {
|
.form-select {
|
||||||
min-height: 34px;
|
min-height: 34px;
|
||||||
padding: 6px $spacer-2;
|
padding: 6px $spacer-2;
|
||||||
font-size: $body-font-size;
|
font-size: $h4-size;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: $text-gray-dark;
|
color: $text-gray-dark;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
@ -37,6 +37,11 @@ label {
|
|||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: $form-control-shadow, $btn-input-focus-shadow;
|
box-shadow: $form-control-shadow, $btn-input-focus-shadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensures inputs don't zoom on mobile but are body-font size on desktop
|
||||||
|
@include breakpoint(md) {
|
||||||
|
font-size: $body-font-size;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Inputs with contrast for easy light gray backgrounds against white.
|
// Inputs with contrast for easy light gray backgrounds against white.
|
||||||
|
Loading…
Reference in New Issue
Block a user