mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-06 13:46:42 +02:00
ajgon's fluid offsets working with first-child
This commit is contained in:
2
less/mixins.less
Normal file → Executable file
2
less/mixins.less
Normal file → Executable file
@@ -597,7 +597,7 @@
|
|||||||
.spanX (0) {}
|
.spanX (0) {}
|
||||||
|
|
||||||
.offsetX (@index) when (@index > 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(@index - 1);
|
||||||
}
|
}
|
||||||
.offsetX (0) {}
|
.offsetX (0) {}
|
||||||
|
Reference in New Issue
Block a user