mirror of https://github.com/twbs/bootstrap.git
Match the height of select.form-control with input.form-control
Uses a local variable and some calc love to counteract the border-width (times 2) from the height of the select. Fixes #17194 and nullifies #19967.
This commit is contained in:
parent
ea57c51082
commit
0c467e7b29
|
@ -66,7 +66,8 @@
|
||||||
|
|
||||||
select.form-control {
|
select.form-control {
|
||||||
&:not([size]):not([multiple]) {
|
&:not([size]):not([multiple]) {
|
||||||
height: $input-height;
|
$select-border-width: ($border-width * 2);
|
||||||
|
height: calc(#{$input-height} - #{$select-border-width});
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus::-ms-value {
|
&:focus::-ms-value {
|
||||||
|
|
Loading…
Reference in New Issue