fixes #8959: only negative indent rows within .container (prevents horizontal scroll on full-width pages)

This commit is contained in:
Mark Otto
2013-08-06 21:11:16 -07:00
parent 18a4082553
commit d1e712d848
3 changed files with 8 additions and 6 deletions

View File

@@ -445,9 +445,11 @@
// Then clear the floated columns
.clearfix();
@media (min-width: @screen-small) {
margin-left: (@gutter / -2);
margin-right: (@gutter / -2);
.container & {
@media (min-width: @screen-small) {
margin-left: (@gutter / -2);
margin-right: (@gutter / -2);
}
}
// Negative margin nested rows out to align the content of columns