From 63947ee94e551b2f2ecc140f1fc95fa36306b743 Mon Sep 17 00:00:00 2001
From: Mark Otto <markd.otto@gmail.com>
Date: Sat, 28 Oct 2017 22:42:09 -0700
Subject: [PATCH] Add fallback border-radius to .btn (#24505)

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 a99d71de1e..de3c530bb5 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;
+  }
 }
-- 
GitLab