From: Geoff Kimball Date: Wed, 6 Jan 2016 22:33:10 +0000 (-0800) Subject: Update breakpoint strings to remove deprecation warning in Ruby Sass 3.4.20 X-Git-Tag: v6.1.2~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef02e0504c98e7ab2914d93f23f8625984d0bb85;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Update breakpoint strings to remove deprecation warning in Ruby Sass 3.4.20 --- diff --git a/scss/util/_breakpoint.scss b/scss/util/_breakpoint.scss index f5976ea93..d92787197 100644 --- a/scss/util/_breakpoint.scss +++ b/scss/util/_breakpoint.scss @@ -243,24 +243,24 @@ $xxlarge-only: null; @if map-has-key($breakpoints, small) { $small-up: screen; - $small-only: screen and #{breakpoint(small only)}; + $small-only: unquote('screen and #{breakpoint(small only)}'); } @if map-has-key($breakpoints, medium) { - $medium-up: screen and #{breakpoint(medium)}; - $medium-only: screen and #{breakpoint(medium only)}; + $medium-up: unquote('screen and #{breakpoint(medium)}'); + $medium-only: unquote('screen and #{breakpoint(medium only)}'); } @if map-has-key($breakpoints, large) { - $large-up: screen and #{breakpoint(large)}; - $large-only: screen and #{breakpoint(large only)}; + $large-up: unquote('screen and #{breakpoint(large)}'); + $large-only: unquote('screen and #{breakpoint(large only)}'); } @if map-has-key($breakpoints, xlarge) { - $xlarge-up: screen and #{breakpoint(xlarge)}; - $xlarge-only: screen and #{breakpoint(xlarge only)}; + $xlarge-up: unquote('screen and #{breakpoint(xlarge)}'); + $xlarge-only: unquote('screen and #{breakpoint(xlarge only)}'); } @if map-has-key($breakpoints, xxlarge) { - $xxlarge-up: screen and #{breakpoint(xxlarge)}; + $xxlarge-up: unquote('screen and #{breakpoint(xxlarge)}'); }