2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

fix uber size in responsive; remove @extraspace variable by changing grid to use :first-child over negative margin

This commit is contained in:
Mark Otto
2011-10-16 03:08:14 -07:00
parent 9e9109469e
commit be926a04bc
4 changed files with 38 additions and 41 deletions
+1 -1
View File
@@ -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() {