0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

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

View File

@ -90,5 +90,10 @@
padding: $padding-y $padding-x; padding: $padding-y $padding-x;
font-size: $font-size; font-size: $font-size;
line-height: $line-height; 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;
}
} }