From e88d306dacbc2203b521d52b17fb823db498ee29 Mon Sep 17 00:00:00 2001 From: Geoff Kimball Date: Tue, 19 Jan 2016 13:16:23 -0800 Subject: [PATCH] On progress bars, only output border-radius if necessary, and apply border radius to inner meter as well, fixes #7929 --- scss/components/_progress-bar.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scss/components/_progress-bar.scss b/scss/components/_progress-bar.scss index 739b614a1..e9c036cf7 100644 --- a/scss/components/_progress-bar.scss +++ b/scss/components/_progress-bar.scss @@ -41,7 +41,10 @@ $progress-radius: $global-radius !default; width: 0%; height: 100%; background-color: $progress-meter-background; - border-radius: $global-radius; + + @if has-value($progress-radius) { + border-radius: $global-radius; + } } /// Adds styles for text in the progress meter. @@ -55,6 +58,10 @@ $progress-radius: $global-radius !default; font-weight: bold; color: $white; white-space: nowrap; + + @if has-value($progress-radius) { + border-radius: $progress-radius; + } } @mixin foundation-progress-bar { -- 2.47.2