Skip to content

Commit

Permalink
Match the height of select.form-control with input.form-control
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mdo committed Oct 10, 2016
1 parent ea57c51 commit 0c467e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0c467e7

Please sign in to comment.