]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed 'small' being hard coded as the zero breakpoint for .#{$-zf-size}-auto and... 11680/head
authorBlake Hancock <blake@osiminteractive.com>
Fri, 15 Feb 2019 19:28:33 +0000 (14:28 -0500)
committerBlake Hancock <blake@osiminteractive.com>
Fri, 15 Feb 2019 19:28:33 +0000 (14:28 -0500)
scss/xy-grid/_classes.scss

index eeb1410cb9babb8f29e9ad81ee4321baa0364480..11d176ea149eead2f8877a9d79e0d733d4808093 100644 (file)
@@ -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);
 ) {
 
   @include -zf-each-breakpoint() {
-    @if not($-zf-size == small) {
+    @if not($-zf-size == $-zf-zero-breakpoint) {
     }
   }
 
 
     @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);
         }
       }
 
       // 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);