1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-23 13:43:11 +02:00

make sure to pass child var through

This commit is contained in:
Jacob Thornton
2012-03-04 14:21:54 -08:00
parent 2f598e35a0
commit 3524aa909c
4 changed files with 135 additions and 135 deletions

View File

@@ -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); }