mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-10 02:02:26 +02:00
Merge pull request #20875 from twbs/custom-select-height
Set height on custom select
This commit is contained in:
commit
898ffde1e6
@ -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…
x
Reference in New Issue
Block a user