aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-03-04 14:21:54 -0800
committerJacob Thornton <[email protected]>2012-03-04 14:21:54 -0800
commit3524aa909cd0cef16c9d244bd21da0dfd7b48cf9 (patch)
tree23cf04c5b848c8a5387b2e919fa0f7f474088036 /less
parent2f598e35a0954532388960c5cf0e2855a076d48c (diff)
downloadbootstrap-3524aa909cd0cef16c9d244bd21da0dfd7b48cf9.tar.xz
bootstrap-3524aa909cd0cef16c9d244bd21da0dfd7b48cf9.zip
make sure to pass child var through
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/less/mixins.less b/less/mixins.less
index b1274847d..3129d515e 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -489,11 +489,11 @@
~".span@{index}" { .span(@index); }
#grid .spanX(@index - 1);
}
- .spanX (@index, @child) when (@index > 0) and (@child) {
+ .spanX (@index, @child) when not (@index = 0) and (@child) {
~"> .span@{index}" { .span(@index); }
- #grid .spanX(@index - 1);
+ #grid .spanX(@index - 1, @child);
}
- .spanX (0) {}
+ .spanX (0, ...) {}
.offsetX (@index) when (@index > 0) {
~".offset@{index}" { .offset(@index); }