aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-10-09 19:50:42 -0700
committerGitHub <[email protected]>2016-10-09 19:50:42 -0700
commit898ffde1e640d54278d20cd22253b38bd482b767 (patch)
treeab958a9bde6deaf69d43905b78f3fe31e6525510
parent805b38451900c068aee5107b06a9899b2b6cb052 (diff)
parent300cedfe8cc733ddde08ba556fb72bfecf1ad548 (diff)
downloadbootstrap-898ffde1e640d54278d20cd22253b38bd482b767.tar.xz
bootstrap-898ffde1e640d54278d20cd22253b38bd482b767.zip
Merge pull request #20875 from twbs/custom-select-height
Set height on custom select
-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;