From d115d169b72d165d8b84c6e16d3b132b28b96d1d Mon Sep 17 00:00:00 2001 From: Mark Figueredo Date: Mon, 19 Mar 2012 14:58:55 -0300 Subject: [PATCH] Added offset parameter to .makeColumn. --- less/mixins.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/less/mixins.less b/less/mixins.less index 0074e89241..13fbb5cf8e 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -507,9 +507,9 @@ margin-left: @gridGutterWidth * -1; .clearfix(); } -.makeColumn(@columns: 1) { +.makeColumn(@columns: 1, @offset: 0) { float: left; - margin-left: @gridGutterWidth; + margin-left: (@gridColumnWidth * @offset) + (@gridGutterWidth * (@offset - 1)) + (@gridGutterWidth * 2); width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)); }