]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
ajgon's fluid offsets working with first-child
authorMarcus Schwab <marcus@atws.ca>
Thu, 7 Jun 2012 21:36:45 +0000 (14:36 -0700)
committerMarcus Schwab <marcus@atws.ca>
Fri, 8 Jun 2012 00:23:22 +0000 (17:23 -0700)
less/mixins.less [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 47353bc..8f89beb
     .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) {}