diff options
| author | Mark Otto <[email protected]> | 2013-11-06 13:03:08 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-11-06 13:03:08 -0800 |
| commit | 88a06640ddc6bba4f05b41666f53c5daeb00fac8 (patch) | |
| tree | eb1859406b3eb3c091786c2ad2202795c3e8ef05 /less | |
| parent | d1048a78371862c295613f484a06dacfb275d916 (diff) | |
| download | bootstrap-88a06640ddc6bba4f05b41666f53c5daeb00fac8.tar.xz bootstrap-88a06640ddc6bba4f05b41666f53c5daeb00fac8.zip | |
Fixes #11295: Restore offset, push, and pull zero classes (e.g., .col-md-offset-0)
Diffstat (limited to 'less')
| -rw-r--r-- | less/mixins.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/mixins.less b/less/mixins.less index 4718cb2c0..3d24e668a 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -750,7 +750,7 @@ .col(1); // kickstart it } -.calc-grid(@index, @class, @type) when (@type = width) { +.calc-grid(@index, @class, @type) when (@type = width) and (@index > 0) { .col-@{class}-@{index} { width: percentage((@index / @grid-columns)); } @@ -772,7 +772,7 @@ } // Basic looping in LESS -.make-grid(@index, @class, @type) when (@index > 0) { +.make-grid(@index, @class, @type) when (@index >= 0) { .calc-grid(@index, @class, @type); // next iteration .make-grid(@index - 1, @class, @type); |
