0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Fix navbar on phone/tablet devices after navbar overhaul

This commit is contained in:
Robert Burns 2013-04-28 10:08:48 -04:00
parent 8b3a1702d4
commit 3326e1b21e
2 changed files with 2 additions and 10 deletions

View File

@ -3490,7 +3490,7 @@ button.close {
.navbar { .navbar {
position: relative; position: relative;
padding: 10px 15px; padding: 0 15px;
background-color: #eeeeee; background-color: #eeeeee;
border-radius: 4px; border-radius: 4px;
} }
@ -3741,10 +3741,6 @@ button.close {
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
.navbar {
padding-top: 0;
padding-bottom: 0;
}
.navbar-brand { .navbar-brand {
float: left; float: left;
margin-right: 5px; margin-right: 5px;

View File

@ -5,7 +5,7 @@
// Wrapper and base class // Wrapper and base class
.navbar { .navbar {
position: relative; position: relative;
padding: 10px 15px; padding: 0px 15px;
background-color: @navbar-bg; background-color: @navbar-bg;
border-radius: @border-radius-base; border-radius: @border-radius-base;
// Prevent floats from breaking the navbar // Prevent floats from breaking the navbar
@ -264,10 +264,6 @@
@media screen and (min-width: @screen-tablet) { @media screen and (min-width: @screen-tablet) {
.navbar {
padding-top: 0;
padding-bottom: 0;
}
.navbar-brand { .navbar-brand {
float: left; float: left;
margin-left: -5px; margin-left: -5px;