aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/mixins.less16
-rw-r--r--less/scaffolding.less2
2 files changed, 4 insertions, 14 deletions
diff --git a/less/mixins.less b/less/mixins.less
index f726b9402..0a754f5a8 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -529,21 +529,9 @@
// Creates a wrapper for a series of columns
.make-row(@gutter: @grid-gutter-width) {
- // Then clear the floated columns
+ margin-left: (@gutter / -2);
+ margin-right: (@gutter / -2);
.clearfix();
-
- .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
- .row {
- margin-left: (@gutter / -2);
- margin-right: (@gutter / -2);
- }
}
// Generate the extra small columns
diff --git a/less/scaffolding.less b/less/scaffolding.less
index 3a6ed3d99..eb6f1364d 100644
--- a/less/scaffolding.less
+++ b/less/scaffolding.less
@@ -22,6 +22,8 @@ html {
}
body {
+ padding-left: (@grid-gutter-width / 2);
+ padding-right: (@grid-gutter-width / 2);
font-family: @font-family-base;
font-size: @font-size-base;
line-height: @line-height-base;