aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-10-09 19:49:52 -0700
committerMark Otto <[email protected]>2016-10-09 19:49:52 -0700
commit300cedfe8cc733ddde08ba556fb72bfecf1ad548 (patch)
treeab958a9bde6deaf69d43905b78f3fe31e6525510
parent0c467e7b29e2dd601e51b2af161c0546a79d432c (diff)
downloadbootstrap-300cedfe8cc733ddde08ba556fb72bfecf1ad548.tar.xz
bootstrap-300cedfe8cc733ddde08ba556fb72bfecf1ad548.zip
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.
-rw-r--r--scss/_custom-forms.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index 30b46083b..e74f5c744 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -137,6 +137,8 @@
.custom-select {
display: inline-block;
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-right: $custom-select-padding-x \9;
color: $custom-select-color;