diff options
| author | Bass Jobsen <[email protected]> | 2014-10-30 01:20:35 +0100 |
|---|---|---|
| committer | Bass Jobsen <[email protected]> | 2014-10-30 01:20:35 +0100 |
| commit | b8dbb545ac7e467ad1e1b95e0e0c647ccd129c4a (patch) | |
| tree | ebf8285b08f9449ae045ca1363f05288796bea54 | |
| parent | a41827377b5bc90aef88a2180a6dbddbb6eb0ff3 (diff) | |
| download | bootstrap-b8dbb545ac7e467ad1e1b95e0e0c647ccd129c4a.tar.xz bootstrap-b8dbb545ac7e467ad1e1b95e0e0c647ccd129c4a.zip | |
Update grid-framework.less
The `when (@index = 1)` guards are not needed cause the mixins already only match on arity.
| -rw-r--r-- | less/mixins/grid-framework.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/mixins/grid-framework.less b/less/mixins/grid-framework.less index 631785465..f3b3929d6 100644 --- a/less/mixins/grid-framework.less +++ b/less/mixins/grid-framework.less @@ -5,7 +5,7 @@ .make-grid-columns() { // 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}"; .col((@index + 1), @item); } @@ -27,7 +27,7 @@ } .float-grid-columns(@class) { - .col(@index) when (@index = 1) { // initial + .col(@index) { // initial @item: ~".col-@{class}-@{index}"; .col((@index + 1), @item); } |
