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:
@@ -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