From b8dbb545ac7e467ad1e1b95e0e0c647ccd129c4a Mon Sep 17 00:00:00 2001 From: Bass Jobsen Date: Thu, 30 Oct 2014 01:20:35 +0100 Subject: [PATCH] Update grid-framework.less The `when (@index = 1)` guards are not needed cause the mixins already only match on arity. --- less/mixins/grid-framework.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.47.2