From: Brett Mason Date: Sun, 28 May 2017 19:38:50 +0000 (+0100) Subject: Solve down and only keyword issue by getting the first value X-Git-Tag: v6.4.0-rc1~9^2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=009ed0583cbb7f602586e24da548cef80a0d620c;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Solve down and only keyword issue by getting the first value --- diff --git a/scss/util/_breakpoint.scss b/scss/util/_breakpoint.scss index efe0ff084..58b6e3846 100644 --- a/scss/util/_breakpoint.scss +++ b/scss/util/_breakpoint.scss @@ -146,7 +146,7 @@ $breakpoint-classes: (small medium large) !default; // Make breakpoint size available as a variable $old-zf-size: $-zf-zero-breakpoint; - $-zf-size: $value !global; + $-zf-size: nth($value, 1) !global; // get the first value to account for `only` and `down` keywords // If $str is still an empty string, no media query is needed @if $str == '' {