aboutsummaryrefslogtreecommitdiff
path: root/less/responsive.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-05 23:50:03 -0800
committerMark Otto <[email protected]>2012-03-05 23:50:03 -0800
commit738fac18de63275fbac8e1f81d60121eff557fd3 (patch)
treef9597e23dbdd9128cc95a0c4e29935c43cf151a2 /less/responsive.less
parent492ccedcabed8303a9a1cda8a09f6dbd40405553 (diff)
downloadbootstrap-738fac18de63275fbac8e1f81d60121eff557fd3.tar.xz
bootstrap-738fac18de63275fbac8e1f81d60121eff557fd3.zip
move padding from container to body for max-width: 767; responsive layout
Diffstat (limited to 'less/responsive.less')
-rw-r--r--less/responsive.less12
1 files changed, 11 insertions, 1 deletions
diff --git a/less/responsive.less b/less/responsive.less
index 7fa62cad9..f321891e8 100644
--- a/less/responsive.less
+++ b/less/responsive.less
@@ -155,12 +155,22 @@
// --------------------------------------------------
@media (max-width: 767px) {
+
+ // Padding to set content in a bit
+ body {
+ padding-left: 20px;
+ padding-right: 20px;
+ }
+ .navbar-fixed-top {
+ margin-left: -20px;
+ margin-right: -20px;
+ }
+
// GRID & CONTAINERS
// -----------------
// Remove width from containers
.container {
width: auto;
- padding: 0 20px;
}
// Fluid rows
.row-fluid {