Commit d1e712d8 authored by Mark Otto's avatar Mark Otto

fixes #8959: only negative indent rows within .container (prevents horizontal...

fixes #8959: only negative indent rows within .container (prevents horizontal scroll on full-width pages)
parent 18a40825
...@@ -757,7 +757,7 @@ pre code { ...@@ -757,7 +757,7 @@ pre code {
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.row { .container .row {
margin-right: -15px; margin-right: -15px;
margin-left: -15px; margin-left: -15px;
} }
...@@ -1691,7 +1691,7 @@ textarea.input-sm { ...@@ -1691,7 +1691,7 @@ textarea.input-sm {
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.form-horizontal .form-group { .container .form-horizontal .form-group {
margin-right: -15px; margin-right: -15px;
margin-left: -15px; margin-left: -15px;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -445,9 +445,11 @@ ...@@ -445,9 +445,11 @@
// Then clear the floated columns // Then clear the floated columns
.clearfix(); .clearfix();
@media (min-width: @screen-small) { .container & {
margin-left: (@gutter / -2); @media (min-width: @screen-small) {
margin-right: (@gutter / -2); margin-left: (@gutter / -2);
margin-right: (@gutter / -2);
}
} }
// Negative margin nested rows out to align the content of columns // Negative margin nested rows out to align the content of columns
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment