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:
+3
-3
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user