fixes #21922: set border-radius to 0 when global radius is disabled

This commit is contained in:
Mark Otto 2017-04-08 21:58:26 -07:00
parent e1c3f79e98
commit 0cb2576bf2
1 changed files with 5 additions and 1 deletions

View File

@ -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 {