aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-04-08 21:58:26 -0700
committerMark Otto <[email protected]>2017-04-08 21:58:26 -0700
commit0cb2576bf25220d35a5f4e1d33c16c2e6f3abaee (patch)
treebd4aeffce60b922f70a643c529d4345fa92541f2
parente1c3f79e9865510066b2442f17d53885a9b78f8e (diff)
downloadbootstrap-0cb2576bf25220d35a5f4e1d33c16c2e6f3abaee.tar.xz
bootstrap-0cb2576bf25220d35a5f4e1d33c16c2e6f3abaee.zip
fixes #21922: set border-radius to 0 when global radius is disabled
-rw-r--r--scss/_custom-forms.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index d303c48d0..7ad68bb85 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -144,7 +144,11 @@
background: $custom-select-bg $custom-select-indicator no-repeat right $custom-select-padding-x center;
background-size: $custom-select-bg-size;
border: $custom-select-border-width solid $custom-select-border-color;
- @include border-radius($custom-select-border-radius);
+ @if $enable-rounded {
+ border-radius: $custom-select-border-radius;
+ } @else {
+ border-radius: 0;
+ }
appearance: none;
&:focus {