]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Cell should always emit gutters if -output is enabled 10437/head
authorKevin Ball <kmball11@gmail.com>
Wed, 19 Jul 2017 22:33:10 +0000 (15:33 -0700)
committerKevin Ball <kmball11@gmail.com>
Wed, 19 Jul 2017 22:33:10 +0000 (15:33 -0700)
scss/xy-grid/_cell.scss

index dcdbed0f002cf53158a2c9d2cad21e8f7752e7de..d5249da41d9eaf48c5dff3fe29a9fab6bd51c0aa 100644 (file)
   }
 
   @if $gutter-output {
-    // If gutters = map
-    @if(type-of($gutters) == 'map') {
-      // If $gutters map has a key = $breakpoint, output the value
-      @if (map-has-key($gutters, $breakpoint)) {
-        @include xy-gutters($gutter, $gutter-type, $gutter-position);
-      }
-    }
-    // If not a map
-    @else {
-      @include xy-gutters($gutter, $gutter-type, $gutter-position);
-    }
+    @include xy-gutters($gutter, $gutter-type, $gutter-position);
   }
 }