From 090dd8b28e51cfa541ef4d975f93a0844f3aa2e1 Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Fri, 18 Apr 2014 09:57:48 -0700 Subject: [PATCH] Containers now left-align The default bootstrap UI still calls for a centered container, which makes less sense with a left-locked menu. This change overrides the bootstrap container margin from auto, and sets it to the grid's gutter size. Change-Id: Ibd9701887d0a4d5276413221314b40becf3d529f --- src/theme/base/body.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/theme/base/body.less b/src/theme/base/body.less index 157f7418..2134a07d 100644 --- a/src/theme/base/body.less +++ b/src/theme/base/body.less @@ -21,6 +21,11 @@ body { } +.container { + margin-right: (@grid-gutter-width / 2); + margin-left: (@grid-gutter-width / 2); +} + @media (max-width: @screen-xs-max) { body { margin-left: @navbar-fixed-left-width-xs;