Skip to content

Commit 49ec620

Browse files
committed
Add fallback border-radius to .btn
Fixes #24503 by manually calling the border-radius instead of using the mixin.
1 parent 31913e0 commit 49ec620

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scss/mixins/_buttons.scss

+6-1
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,10 @@
9090
padding: $padding-y $padding-x;
9191
font-size: $font-size;
9292
line-height: $line-height;
93-
@include border-radius($border-radius);
93+
// Manually declare to provide an override to the browser default
94+
@if $enable-rounded {
95+
border-radius: $border-radius;
96+
} @else {
97+
border-radius: 0;
98+
}
9499
}

0 commit comments

Comments
 (0)