From d76c35a031cb9b1138e432e6c650e76e103b6c99 Mon Sep 17 00:00:00 2001 From: Blake Hancock Date: Fri, 15 Feb 2019 14:28:33 -0500 Subject: [PATCH] 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.) --- scss/xy-grid/_classes.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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); -- 2.47.2