From c8c3e12fdacbf36b9d93d198e434498fc22068cd Mon Sep 17 00:00:00 2001 From: Geoff Kimball Date: Tue, 8 Dec 2015 10:50:30 -0800 Subject: [PATCH] Fix nested column rows being misaligned, fixes #7365 --- scss/grid/_classes.scss | 8 ++++++++ 1 file changed, 8 insertions(+) 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 { -- 2.47.2