From c460d70fc56e3c94161ead3581ea35eecf7171ee Mon Sep 17 00:00:00 2001 From: Brett Mason Date: Thu, 6 Oct 2016 11:37:58 +0100 Subject: [PATCH] Fix incorrect flex grid output. The output should of been `.row .column.row.row, .row .row.row.columns` --- scss/grid/_flex-grid.scss | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scss/grid/_flex-grid.scss b/scss/grid/_flex-grid.scss index df9a49703..702e7721f 100644 --- a/scss/grid/_flex-grid.scss +++ b/scss/grid/_flex-grid.scss @@ -186,17 +186,17 @@ // Column row // The double .row class is needed to bump up the specificity - & .column.row.row { + .column.row.row { float: none; display: block; + } - // To properly nest a column row, padding and margin is removed - & .row { - padding-left: 0; - padding-right: 0; - margin-left: 0; - margin-right: 0; - } + // To properly nest a column row, padding and margin is removed + .row .column.row.row { + padding-left: 0; + padding-right: 0; + margin-left: 0; + margin-right: 0; } @include -zf-each-breakpoint { @@ -239,7 +239,7 @@ // Auto-stacking/unstacking @at-root (without: media) { - & .row.#{$-zf-size}-unstack { + .row.#{$-zf-size}-unstack { > .column { flex: flex-grid-column(100%); @@ -281,4 +281,4 @@ // scss-lint:disable PlaceholderInExtend @extend .column; } -} +} \ No newline at end of file -- 2.47.2