mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-31 19:50:22 +00:00
when > 0 rather than when not 0
This commit is contained in:
parent
1aeca545c8
commit
2f598e35a0
2 changed files with 3 additions and 3 deletions
Binary file not shown.
|
|
@ -485,17 +485,17 @@
|
|||
// Recursive mixins! <3
|
||||
// Requires not yet released LESS ;)
|
||||
|
||||
.spanX (@index) when not (@index = 0) {
|
||||
.spanX (@index) when (@index > 0) {
|
||||
~".span@{index}" { .span(@index); }
|
||||
#grid .spanX(@index - 1);
|
||||
}
|
||||
.spanX (@index, @child) when not (@index = 0) and (@child) {
|
||||
.spanX (@index, @child) when (@index > 0) and (@child) {
|
||||
~"> .span@{index}" { .span(@index); }
|
||||
#grid .spanX(@index - 1);
|
||||
}
|
||||
.spanX (0) {}
|
||||
|
||||
.offsetX (@index) when not (@index = 0) {
|
||||
.offsetX (@index) when (@index > 0) {
|
||||
~".offset@{index}" { .offset(@index); }
|
||||
#grid .offsetX(@index - 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue