]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #21922: set border-radius to 0 when global radius is disabled
authorMark Otto <markdotto@gmail.com>
Sun, 9 Apr 2017 04:58:26 +0000 (21:58 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 9 Apr 2017 04:58:26 +0000 (21:58 -0700)
scss/_custom-forms.scss

index d303c48d0b0b52407f41b0234b6863db527ca449..7ad68bb85c04e7d65a854e491f3e4694268d7051 100644 (file)
   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 {