2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03: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
+6 -1
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;
}
}