From: Blake Hancock Date: Fri, 15 Feb 2019 19:28:33 +0000 (-0500) Subject: Fixed 'small' being hard coded as the zero breakpoint for .#{$-zf-size}-auto and... X-Git-Tag: v6.6.0~3^2~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76c35a031cb9b1138e432e6c650e76e103b6c99;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fixed 'small' being hard coded as the zero breakpoint for .#{$-zf-size}-auto and .#{$-zf-size}-shrink xy-grid classes. (Uses $-zf-zero-breakpoint instead.) --- diff --git a/scss/xy-grid/_classes.scss b/scss/xy-grid/_classes.scss index eeb1410cb..11d176ea1 100644 --- a/scss/xy-grid/_classes.scss +++ b/scss/xy-grid/_classes.scss @@ -68,7 +68,7 @@ @include -zf-each-breakpoint() { // Responsive "auto" modifier - @if not($-zf-size == small) { + @if not($-zf-size == $-zf-zero-breakpoint) { .grid-x > .#{$-zf-size}-auto { @include xy-cell(auto, $gutter-type: none); } @@ -79,7 +79,7 @@ } // Responsive "shrink" modifier - @if not($-zf-size == small) { + @if not($-zf-size == $-zf-zero-breakpoint) { .grid-x > .#{$-zf-size}-shrink { @extend %-xy-cell-base-shrink-horizontal-#{$-zf-size}; @include xy-cell-size(shrink, $gutter-type: none); @@ -267,7 +267,7 @@ ) { @include -zf-each-breakpoint() { - @if not($-zf-size == small) { + @if not($-zf-size == $-zf-zero-breakpoint) { } } @@ -304,7 +304,7 @@ @include -zf-each-breakpoint() { // Responsive "auto" modifier - @if not($-zf-size == small) { + @if not($-zf-size == $-zf-zero-breakpoint) { > .#{$-zf-size}-auto { @include xy-cell(auto, $gutter-type: none, $vertical: true); } @@ -315,7 +315,7 @@ } // Responsive "shrink" modifier - @if not($-zf-size == small) { + @if not($-zf-size == $-zf-zero-breakpoint) { > .#{$-zf-size}-shrink { @extend %-xy-cell-base-shrink-vertical-#{$-zf-size}; @include xy-cell-size(shrink, $gutter-type: none, $vertical: true);