]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixing push, pull for Gutter adjustment
authorDusan Milko <dusanmilko@hotmail.com>
Thu, 5 Oct 2017 21:04:38 +0000 (17:04 -0400)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2017 21:04:38 +0000 (17:04 -0400)
Fixing optional for push and pull for Gutter adjustment

scss/grid/_classes.scss

index 32daac44d9f057ed6da70135393eca16f001bf9c..f33ed6441711b8f22a78cb9c7bc8ef8e4a9381b5 100644 (file)
     }
 
     // Gutter adjustment
-    .#{$-zf-size}-#{$uncenter},
-    .#{$-zf-size}-#{$push}-0,
-    .#{$-zf-size}-#{$pull}-0 {
+    #{$-zf-size}-#{$uncenter} {
       @include grid-col-unpos;
     }
+
+    @if $push {
+      .#{$-zf-size}-#{$push}-0 {
+        @include grid-col-unpos;
+      }
+    }
+
+    @if $pull {
+      .#{$-zf-size}-#{$pull}-0 {
+        @include grid-col-unpos;
+      }
+    }
   }
 
   // Block grid columns