Skip to content

Commit 63947ee

Browse files
authored
Add fallback border-radius to .btn (#24505)
Fixes #24503 by manually calling the border-radius instead of using the mixin.
1 parent a248ae0 commit 63947ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scss/mixins/_buttons.scss

Lines changed: 6 additions & 1 deletion
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)