diff options
| author | Mark Otto <[email protected]> | 2011-10-16 03:08:14 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-10-16 03:08:14 -0700 |
| commit | be926a04bc7d1fec228b9cbd4c6d0bb0c75c30cd (patch) | |
| tree | a1cffabe4e91aec9da4046f2c7b416d5775b4e06 /lib | |
| parent | 9e9109469e5c86c4232cc744639b286bcd9ef0ba (diff) | |
| download | bootstrap-be926a04bc7d1fec228b9cbd4c6d0bb0c75c30cd.tar.xz bootstrap-be926a04bc7d1fec228b9cbd4c6d0bb0c75c30cd.zip | |
fix uber size in responsive; remove @extraspace variable by changing grid to use :first-child over negative margin
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mixins.less | 2 | ||||
| -rw-r--r-- | lib/variables.less | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/mixins.less b/lib/mixins.less index 16ea91ba4..47857f1fa 100644 --- a/lib/mixins.less +++ b/lib/mixins.less @@ -82,7 +82,7 @@ width: (@gridColumnWidth * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)); } .offset(@columnOffset: 1) { - margin-left: (@gridColumnWidth * @columnOffset) + (@gridGutterWidth * (@columnOffset - 1)) + @extraSpace; + margin-left: (@gridColumnWidth * @columnOffset) + (@gridGutterWidth * (@columnOffset - 1)) + @gridGutterWidth; } // Necessary grid styles for every column to make them appear next to each other horizontally .gridColumn() { diff --git a/lib/variables.less b/lib/variables.less index 24eb8b45a..92d09de70 100644 --- a/lib/variables.less +++ b/lib/variables.less @@ -41,7 +41,6 @@ @gridColumns: 12; @gridColumnWidth: 60px; @gridGutterWidth: 20px; -@extraSpace: (@gridGutterWidth * 2); // For our grid calculations @siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); |
