diff options
| author | Mark Otto <[email protected]> | 2013-04-01 12:55:48 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-04-01 12:55:48 -0700 |
| commit | eac987c0d2bdb93ea4c916d52f38655bcc5e1255 (patch) | |
| tree | e17a4a66d7e01bdb9d05e96b360cbb2b82bf55a7 /less | |
| parent | a0726e605f0fdf5bbe83c149b18b4b238dbc61d8 (diff) | |
| download | bootstrap-eac987c0d2bdb93ea4c916d52f38655bcc5e1255.tar.xz bootstrap-eac987c0d2bdb93ea4c916d52f38655bcc5e1255.zip | |
only negative indent nested grid rows; add new grid example
Diffstat (limited to 'less')
| -rw-r--r-- | less/mixins.less | 9 |
1 files changed, 6 insertions, 3 deletions
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) { |
