From eac987c0d2bdb93ea4c916d52f38655bcc5e1255 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 1 Apr 2013 12:55:48 -0700 Subject: only negative indent nested grid rows; add new grid example --- less/mixins.less | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'less') diff --git a/less/mixins.less b/less/mixins.less index b44197bcc..3f25b1b73 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -407,11 +407,14 @@ // Creates a wrapper for a series of columns .make-row() { - // Negative margin the row out to align the content of columns - margin-left: (@grid-gutter-width / -2); - margin-right: (@grid-gutter-width / -2); // Then clear the floated columns .clearfix(); + + // Negative margin nested rows out to align the content of columns + .row { + margin-left: (@grid-gutter-width / -2); + margin-right: (@grid-gutter-width / -2); + } } // Generate the columns .make-column(@columns) { -- cgit v1.2.3