diff options
| author | Mark Figueredo <[email protected]> | 2012-03-19 14:58:55 -0300 |
|---|---|---|
| committer | Mark Figueredo <[email protected]> | 2012-03-19 14:58:55 -0300 |
| commit | d115d169b72d165d8b84c6e16d3b132b28b96d1d (patch) | |
| tree | e73a9536e3c25edd221441b4f571d1d980ccbe46 | |
| parent | 59503e71ff06d0fd065c2fb981f55f4651ebc274 (diff) | |
| download | bootstrap-d115d169b72d165d8b84c6e16d3b132b28b96d1d.tar.xz bootstrap-d115d169b72d165d8b84c6e16d3b132b28b96d1d.zip | |
Added offset parameter to .makeColumn.
| -rw-r--r-- | less/mixins.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/mixins.less b/less/mixins.less index 0074e8924..13fbb5cf8 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)); } |
