Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Bootstrap 2.3's mixin.less incompatibilities.
@@ -558,13 +567,13 @@
.core (@gridColumnWidth, @gridGutterWidth) {
.spanX (@index) when (@index > 0) {
- (~".span@{index}") { .span(@index); }
+ .span@{index} { .span(@index); }
.spanX(@index - 1);
}
.spanX (0) {}
.offsetX (@index) when (@index > 0) {
- (~".offset@{index}") { .offset(@index); }
+ .offset@{index} { .offset(@index); }
.offsetX(@index - 1);
}
.offsetX (0) {}
@@ -603,14 +612,14 @@
.fluid (@fluidGridColumnWidth, @fluidGridGutterWidth) {
.spanX (@index) when (@index > 0) {
- (~".span@{index}") { .span(@index); }
+ .span@{index} { .span(@index); }
.spanX(@index - 1);
}
.spanX (0) {}
.offsetX (@index) when (@index > 0) {
- (~'.offset@{index}') { .offset(@index); }
- (~'.offset@{index}:first-child') { .offsetFirstChild(@index); }
+ .offset@{index} { .offset(@index); }
+ .offset@{index}:first-child { .offsetFirstChild(@index); }
.offsetX(@index - 1);
}
.offsetX (0) {}
@@ -658,7 +667,7 @@
.input(@gridColumnWidth, @gridGutterWidth) {
.spanX (@index) when (@index > 0) {
- (~"input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index}") { .span(@index); }
+ input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index} { .span(@index); }
.spanX(@index - 1);
}
.spanX (0) {}
@alekseivillegas

This comment has been minimized.

Copy link

@alekseivillegas alekseivillegas commented Sep 1, 2013

Tks a lot, that fix my bootstrapwp-Twitter-Bootstrap-for-WordPress, from compile

@j6s

This comment has been minimized.

Copy link

@j6s j6s commented Sep 26, 2013

you, sir... are my hero of the day, thank you for this fix.

@wyoumans

This comment has been minimized.

Copy link

@wyoumans wyoumans commented Oct 11, 2013

Yay! Good Work!

@rafaeltosta

This comment has been minimized.

Copy link

@rafaeltosta rafaeltosta commented Dec 5, 2013

Great fix.

@nhc

This comment has been minimized.

Copy link

@nhc nhc commented Dec 16, 2013

Thank you. Saved me a headache.

@jaywilliams

This comment has been minimized.

Copy link

@jaywilliams jaywilliams commented Nov 11, 2014

Excellent, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.