mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-21 13:24:08 +03:00
when > 0 rather than when not 0
This commit is contained in:
Binary file not shown.
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user