From: Geoff Kimball Date: Tue, 19 Jan 2016 21:16:23 +0000 (-0800) Subject: On progress bars, only output border-radius if necessary, and apply border radius... X-Git-Tag: v6.1.2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88d306dacbc2203b521d52b17fb823db498ee29;p=thirdparty%2Ffoundation%2Ffoundation-sites.git On progress bars, only output border-radius if necessary, and apply border radius to inner meter as well, fixes #7929 --- 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 {