Skip to content

Commit

Permalink
Add fallback border-radius to .btn (#24505)
Browse files Browse the repository at this point in the history
Fixes #24503 by manually calling the border-radius instead of using the mixin.
  • Loading branch information
mdo authored Oct 29, 2017
1 parent a248ae0 commit 63947ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scss/mixins/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,10 @@
padding: $padding-y $padding-x;
font-size: $font-size;
line-height: $line-height;
@include border-radius($border-radius);
// Manually declare to provide an override to the browser default
@if $enable-rounded {
border-radius: $border-radius;
} @else {
border-radius: 0;
}
}

0 comments on commit 63947ee

Please sign in to comment.