Skip to content

Commit 898ffde

Browse files
authored
Merge pull request #20875 from twbs/custom-select-height
Set height on custom select
2 parents 805b384 + 300cedf commit 898ffde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scss/_custom-forms.scss

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@
137137
.custom-select {
138138
display: inline-block;
139139
max-width: 100%;
140+
$select-border-width: ($border-width * 2);
141+
height: calc(#{$input-height} - #{$select-border-width});
140142
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
141143
padding-right: $custom-select-padding-x \9;
142144
color: $custom-select-color;

0 commit comments

Comments
 (0)