From: George Spake Date: Fri, 3 Jun 2016 14:36:41 +0000 (-0500) Subject: Contain nested rows to grid X-Git-Tag: v6.2.4-rc1~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8889%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Contain nested rows to grid If a row is nested inside of an expanded row, it should be contained to the grid unless the expanded class is explicitly added to the nested row. If a nested row needs to be full width, the `expanded` class can be applied to that row; however, if nested row max-width is set to none, there's no way to contain a row to the grid inside of an expanded row. This fixes #8886 --- diff --git a/scss/grid/_row.scss b/scss/grid/_row.scss index 9cd14883c..daa71e03c 100644 --- a/scss/grid/_row.scss +++ b/scss/grid/_row.scss @@ -82,7 +82,6 @@ @if type-of($gutter) == 'number' { $gutter: ($-zf-zero-breakpoint: $gutter); } - max-width: none; @each $breakpoint, $value in $gutter { $margin: rem-calc($value) / 2 * -1;