0
0
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:
Marcus Schwab 2012-06-07 14:36:45 -07:00
parent f8d68002dc
commit c3f5d7c62d

2
less/mixins.less Normal file → Executable file
View 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) {}