Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-03-06 11:50:03 +0400
committerMark Otto <markotto@twitter.com>2012-03-06 11:50:03 +0400
commit738fac18de63275fbac8e1f81d60121eff557fd3 (patch)
treef9597e23dbdd9128cc95a0c4e29935c43cf151a2 /less
parent492ccedcabed8303a9a1cda8a09f6dbd40405553 (diff)
move padding from container to body for max-width: 767; responsive layout
Diffstat (limited to '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 7fa62cad9c..f321891e81 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 {