]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Contain nested rows to grid 8889/head
authorGeorge Spake <gpspake@gmail.com>
Fri, 3 Jun 2016 14:36:41 +0000 (09:36 -0500)
committerGeorge Spake <gpspake@gmail.com>
Fri, 3 Jun 2016 14:36:41 +0000 (09:36 -0500)
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

scss/grid/_row.scss

index 9cd14883c1ba48d4431100dd7b7b05a0742a65c8..daa71e03c56aa67353d52a55b66ae74160079464 100644 (file)
@@ -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;