aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less8
1 files changed, 5 insertions, 3 deletions
diff --git a/less/mixins.less b/less/mixins.less
index e678563ad..2cf683c3a 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -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