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