@include flex-grid-row;
// Nesting behavior
- & &,
- .column-row & {
+ & & {
@include flex-grid-row(nest, $base: false);
}
@include flex-grid-column;
}
+ // Column row
+ // 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;
+ }
+ }
+
@include -zf-each-breakpoint {
@for $i from 1 through $grid-column-count {
// Sizing (percentage)