2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03: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
+3 -3
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); }