make sure to pass child var through
This commit is contained in:
parent
2f598e35a0
commit
3524aa909c
4 changed files with 135 additions and 135 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue