mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Set height on custom select
Matches the changes from #20874 to the regular select element. This is really only necessary for IE and Edge near as I can tell. Fixes #20810.
This commit is contained in:
parent
0c467e7b29
commit
300cedfe8c
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,8 @@
|
||||||
.custom-select {
|
.custom-select {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
$select-border-width: ($border-width * 2);
|
||||||
|
height: calc(#{$input-height} - #{$select-border-width});
|
||||||
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
|
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
|
||||||
padding-right: $custom-select-padding-x \9;
|
padding-right: $custom-select-padding-x \9;
|
||||||
color: $custom-select-color;
|
color: $custom-select-color;
|
||||||
|
|
Loading…
Add table
Reference in a new issue