From 49ec62059363cb3ce5171709e8390ad1d4152d4b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 22 Oct 2017 14:54:31 -0700 Subject: [PATCH] Add fallback border-radius to .btn Fixes #24503 by manually calling the border-radius instead of using the mixin. --- scss/mixins/_buttons.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scss/mixins/_buttons.scss b/scss/mixins/_buttons.scss index 9e0626139697..76431b86dc92 100644 --- a/scss/mixins/_buttons.scss +++ b/scss/mixins/_buttons.scss @@ -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; + } }