mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
true > child + varargs
This commit is contained in:
parent
3524aa909c
commit
29c63fdb6a
Binary file not shown.
@ -489,10 +489,10 @@
|
||||
~".span@{index}" { .span(@index); }
|
||||
#grid .spanX(@index - 1);
|
||||
}
|
||||
.spanX (@index, @child) when not (@index = 0) and (@child) {
|
||||
~"> .span@{index}" { .span(@index); }
|
||||
#grid .spanX(@index - 1, @child);
|
||||
}
|
||||
.spanX (@index, child) when (@index > 0) {
|
||||
~"> .span@{index}" { .span(@index); }
|
||||
#grid .spanX(@index - 1, child);
|
||||
}
|
||||
.spanX (0, ...) {}
|
||||
|
||||
.offsetX (@index) when (@index > 0) {
|
||||
@ -550,7 +550,7 @@
|
||||
}
|
||||
|
||||
// generate .spanX
|
||||
#grid .spanX (@gridColumns, true);
|
||||
#grid .spanX (@gridColumns, child);
|
||||
}
|
||||
|
||||
}
|
||||
@ -567,7 +567,7 @@
|
||||
margin-left: 0; // override margin-left from core grid system
|
||||
|
||||
// generate .spanX
|
||||
#grid .spanX (@gridColumns, true);
|
||||
#grid .spanX (@gridColumns, child);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user