From: Geoff Kimball Date: Tue, 8 Dec 2015 18:50:30 +0000 (-0800) Subject: Fix nested column rows being misaligned, fixes #7365 X-Git-Tag: v6.0.6~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c3e12fdacbf36b9d93d198e434498fc22068cd;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix nested column rows being misaligned, fixes #7365 --- diff --git a/scss/grid/_classes.scss b/scss/grid/_classes.scss index a6f297a7d..e22c37261 100644 --- a/scss/grid/_classes.scss +++ b/scss/grid/_classes.scss @@ -75,6 +75,14 @@ // The double .row class is needed to bump up the specificity .#{$column}.#{$row}.#{$row} { float: none; + + // To properly nest a column row, padding and margin is removed + .#{$row} & { + padding-left: 0; + padding-right: 0; + margin-left: 0; + margin-right: 0; + } } @each $size in $breakpoints {