Update to Bootstrap 3.0.2
This commit is contained in:
4
assets/less/bootstrap/mixins.less
Normal file → Executable file
4
assets/less/bootstrap/mixins.less
Normal file → Executable file
@@ -750,7 +750,7 @@
|
||||
.col(1); // kickstart it
|
||||
}
|
||||
|
||||
.calc-grid(@index, @class, @type) when (@type = width) {
|
||||
.calc-grid(@index, @class, @type) when (@type = width) and (@index > 0) {
|
||||
.col-@{class}-@{index} {
|
||||
width: percentage((@index / @grid-columns));
|
||||
}
|
||||
@@ -772,7 +772,7 @@
|
||||
}
|
||||
|
||||
// Basic looping in LESS
|
||||
.make-grid(@index, @class, @type) when (@index > 0) {
|
||||
.make-grid(@index, @class, @type) when (@index >= 0) {
|
||||
.calc-grid(@index, @class, @type);
|
||||
// next iteration
|
||||
.make-grid(@index - 1, @class, @type);
|
||||
|
||||
Reference in New Issue
Block a user