summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/less/mixins.less
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2013-11-06 19:09:50 -0500
committerThomas Park <thomas@thomaspark.me>2013-11-06 19:09:50 -0500
commitd0d9744b05908932262ea4bc7ce16e679afaf7a1 (patch)
treeff2407bc55cd7d3b83a46fed7ff23faa97a17b4c /bower_components/bootstrap/less/mixins.less
parent22dcd86b5cd5e7d128438867405bdeea42a24ca0 (diff)
3.0.1 -> 3.0.2
Diffstat (limited to 'bower_components/bootstrap/less/mixins.less')
-rw-r--r--[-rwxr-xr-x]bower_components/bootstrap/less/mixins.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/bower_components/bootstrap/less/mixins.less b/bower_components/bootstrap/less/mixins.less
index 4718cb2c..3d24e668 100755..100644
--- a/bower_components/bootstrap/less/mixins.less
+++ b/bower_components/bootstrap/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);