Add fallback border-radius to .btn (#24505)

Fixes #24503 by manually calling the border-radius instead of using the mixin.
This commit is contained in:
Mark Otto 2017-10-28 22:42:09 -07:00 committed by GitHub
parent a248ae0a3c
commit 63947ee94e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -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;
}
}