scss/foundation/components/_grid.scss in zurb-foundation-4.3.1 vs scss/foundation/components/_grid.scss in zurb-foundation-4.3.2
- old
+ new
@@ -1,12 +1,12 @@
//
// Grid Variables
//
$include-html-grid-classes: $include-html-classes !default;
-$row-width: emCalc(1000) !default;
-$column-gutter: emCalc(30) !default;
+$row-width: em-calc(1000) !default;
+$column-gutter: em-calc(30) !default;
$total-columns: 12 !default;
//
// Grid Function
//
@@ -115,11 +115,13 @@
/* Grid HTML Classes */
.row {
@include grid-row;
&.collapse {
- .column,
- .columns { @include grid-column($collapse:true); }
+ > .column,
+ > .columns { @include grid-column($collapse:true); }
+
+ .row {margin-left:0; margin-right:0;}
}
.row { @include grid-row($behavior:nest);
&.collapse { @include grid-row($behavior:nest-collapse); }
}