]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove duplication of max-width property 8578/head
authoralexej-d <alexej-d@users.noreply.github.com>
Mon, 11 Apr 2016 20:22:41 +0000 (22:22 +0200)
committeralexej-d <alexej-d@users.noreply.github.com>
Mon, 11 Apr 2016 20:22:41 +0000 (22:22 +0200)
As a result of the `max-width` property being inside the `@each` statement, the property was needlessly duplicated while compiling.

scss/grid/_row.scss

index 61fd4b1e86f841b91e038c83885d302e0ebe774e..9cd14883c1ba48d4431100dd7b7b05a0742a65c8 100644 (file)
   @if type-of($gutter) == 'number' {
     $gutter: ($-zf-zero-breakpoint: $gutter);
   }
+  max-width: none;
 
   @each $breakpoint, $value in $gutter {
     $margin: rem-calc($value) / 2 * -1;
-    max-width: none;
 
     @include breakpoint($breakpoint) {
       margin-left: $margin;