mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
ajgon's fluid offsets working with first-child
This commit is contained in:
parent
f8d68002dc
commit
c3f5d7c62d
2
less/mixins.less
Normal file → Executable file
2
less/mixins.less
Normal file → Executable file
@ -597,7 +597,7 @@
|
||||
.spanX (0) {}
|
||||
|
||||
.offsetX (@index) when (@index > 0) {
|
||||
(~'.offset@{index}, .row-fluid > .offset@{index}[class*="span"]') { .offset(@index); }
|
||||
(~'.offset@{index}, .row-fluid .offset@{index}:first-child') { .offset(@index); }
|
||||
.offsetX(@index - 1);
|
||||
}
|
||||
.offsetX (0) {}
|
||||
|
Loading…
Reference in New Issue
Block a user