1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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:
Mark Otto 2016-10-09 18:04:30 -07:00
parent ea57c51082
commit 0c467e7b29

View file

@ -66,7 +66,8 @@
select.form-control {
&:not([size]):not([multiple]) {
height: $input-height;
$select-border-width: ($border-width * 2);
height: calc(#{$input-height} - #{$select-border-width});
}
&:focus::-ms-value {