From: Bass Jobsen Date: Thu, 30 Oct 2014 00:20:35 +0000 (+0100) Subject: Update grid-framework.less X-Git-Tag: v3.3.1~39^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14921%2Fhead;p=thirdparty%2Fbootstrap.git Update grid-framework.less The `when (@index = 1)` guards are not needed cause the mixins already only match on arity. --- diff --git a/less/mixins/grid-framework.less b/less/mixins/grid-framework.less index 631785465f..f3b3929d6d 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); }