From 7054776d6ba5136560109a0dfb0e54b468655469 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Sun, 25 Dec 2016 23:30:43 +0100 Subject: [PATCH] Fix nested collapsed flex-grid row Bug: columns in collapsed row doesn't have padding, but nested collapsed flex-grid row still have negative margins. Fix: apply the same path than in classic grids. Note: Grids and flex-grids have a lot of bugs like this one and should be refactorized. Please beat me if you see this commit 6 months later and nothing changed. --- scss/grid/_flex-grid.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scss/grid/_flex-grid.scss b/scss/grid/_flex-grid.scss index f0471d064..c68d34176 100644 --- a/scss/grid/_flex-grid.scss +++ b/scss/grid/_flex-grid.scss @@ -134,6 +134,11 @@ // Nesting behavior & .row { @include flex-grid-row(nest, $base: false); + + &.collapse { + margin-right: 0; + margin-left: 0; + } } // Expanded row -- 2.47.2