]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fix: respect $gutter-output in the -xy-cell-properties mixin
authorDaniel Ruf <daniel.ruf@ueberbit.de>
Wed, 21 Mar 2018 14:19:51 +0000 (15:19 +0100)
committerDaniel Ruf <daniel.ruf@ueberbit.de>
Wed, 21 Mar 2018 14:19:51 +0000 (15:19 +0100)
scss/xy-grid/_cell.scss

index c2c1c7bb290754e2e549a4ff2a98126fcb237090..2ca560d6d91731269ba1c8be49073c3340c87720 100644 (file)
     // Base flex properties
     @include xy-cell-base($size);
 
-    @if($gutter-type == 'margin') {
+    @if($gutter-output == true && $gutter-type == 'margin') {
       @include -xy-cell-properties($size, $gutter, $vertical);
     }
     @else {
   $gutter: -zf-get-bp-val($gutters, $breakpoint);
   $gutter-position: if($vertical == true, top bottom, left right);
 
-  @if($gutter-type == 'margin') {
+  @if($gutter-output == true and $gutter-type == 'margin') {
     @include -xy-cell-properties($size, $gutter, $vertical);
   }
   @else {