2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

fixes #9436 more: put padding on containers, not the body because full width elements

This commit is contained in:
Mark Otto
2013-08-16 22:37:02 -07:00
parent e4bb388bc9
commit cd0df1d21a
5 changed files with 11 additions and 11 deletions
+2
View File
@@ -524,6 +524,8 @@
.container-fixed() {
margin-right: auto;
margin-left: auto;
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
.clearfix();
}
-2
View File
@@ -22,8 +22,6 @@ 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;
+3 -3
View File
@@ -600,10 +600,10 @@
// --------------------------------------------------
// Small screen / tablet
@container-tablet: 720px;
@container-tablet: 750px; // 720px + 30px left/right padding
// Medium screen / desktop
@container-desktop: 940px;
@container-desktop: 970px; // 940px + 30px left/right padding
// Large screen / wide desktop
@container-large-desktop: 1140px;
@container-large-desktop: 1170px; // 1140px + 30px left/right padding