mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Fix incorrect select height calculation (#21171)
This commit is contained in:
parent
bccbc4f0c3
commit
959c4e527c
@ -67,7 +67,7 @@
|
||||
select.form-control {
|
||||
&:not([size]):not([multiple]) {
|
||||
$select-border-width: ($border-width * 2);
|
||||
height: calc(#{$input-height} - #{$select-border-width});
|
||||
height: calc(#{$input-height} + #{$select-border-width});
|
||||
}
|
||||
|
||||
&:focus::-ms-value {
|
||||
|
@ -416,7 +416,7 @@ $input-padding-y-sm: .25rem !default;
|
||||
$input-padding-x-lg: 1.5rem !default;
|
||||
$input-padding-y-lg: .75rem !default;
|
||||
|
||||
$input-height: (($font-size-base * $line-height-base) + ($input-padding-y * 2)) !default;
|
||||
$input-height: (($font-size-base * $input-line-height) + ($input-padding-y * 2)) !default;
|
||||
$input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2)) !default;
|
||||
$input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2)) !default;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user