From: Kevin Ball Date: Thu, 25 May 2017 21:29:26 +0000 (-0700) Subject: Fix auto/shrink responsiveness on padding grid X-Git-Tag: v6.4.0-rc1~9^2~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f949b4d87c53cd0b40d90464586134271aceef83;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix auto/shrink responsiveness on padding grid --- diff --git a/scss/zf-grid/_classes.scss b/scss/zf-grid/_classes.scss index 6a338c18c..8b7b78111 100644 --- a/scss/zf-grid/_classes.scss +++ b/scss/zf-grid/_classes.scss @@ -18,27 +18,29 @@ .grid { @include zf-grid; } - + // Base cell styles .cell { @include zf-cell($gutter-output: false, $gutter-type: padding); } - // Auto width - @include -zf-each-breakpoint() { - > .#{$-zf-size}-auto { - @include zf-cell(auto, false, $gutter-type: padding); + .grid { + // Auto width + @include -zf-each-breakpoint() { + > .#{$-zf-size}-auto { + @include zf-cell(auto, false, $gutter-type: padding); + } } - } - // Shrink - @include -zf-each-breakpoint() { - > .#{$-zf-size}-shrink { - @include zf-cell(shrink, false, $gutter-type: padding); + // Shrink + @include -zf-each-breakpoint() { + > .#{$-zf-size}-shrink { + @include zf-cell(shrink, false, $gutter-type: padding); + } } } - // Sizing classes + // Sizing classes @include -zf-each-breakpoint { @for $i from 1 through $grid-columns { // Sizing (percentage)