mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-15 01:55:46 +02:00
Merge pull request #14921 from bassjobsen/patch-3
Update grid-framework.less
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
.make-grid-columns() {
|
.make-grid-columns() {
|
||||||
// Common styles for all sizes of grid columns, widths 1-12
|
// Common styles for all sizes of grid columns, widths 1-12
|
||||||
.col(@index) when (@index = 1) { // initial
|
.col(@index) { // initial
|
||||||
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
|
||||||
.col((@index + 1), @item);
|
.col((@index + 1), @item);
|
||||||
}
|
}
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.float-grid-columns(@class) {
|
.float-grid-columns(@class) {
|
||||||
.col(@index) when (@index = 1) { // initial
|
.col(@index) { // initial
|
||||||
@item: ~".col-@{class}-@{index}";
|
@item: ~".col-@{class}-@{index}";
|
||||||
.col((@index + 1), @item);
|
.col((@index + 1), @item);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user