1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 08:10:47 +02:00

move padding from container to body for max-width: 767; responsive layout

This commit is contained in:
Mark Otto
2012-03-05 23:50:03 -08:00
parent 492ccedcab
commit 738fac18de
6 changed files with 28 additions and 2 deletions

View File

@@ -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 {