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

fixes #9507: remove padding on navbar-collapse as any padding on an animated object screws it up; instead use some padding on the navbar nav

This commit is contained in:
Mark Otto
2013-08-15 00:07:23 -07:00
parent 7f4e05fcce
commit 1b6a5bbca2
3 changed files with 17 additions and 5 deletions

View File

@@ -3155,7 +3155,8 @@ button.close {
.navbar-collapse {
max-height: 340px;
padding: 5px 15px;
padding-right: 15px;
padding-left: 15px;
overflow-x: visible;
overflow-y: auto;
border-top: 1px solid #e6e6e6;
@@ -3186,7 +3187,8 @@ button.close {
@media (min-width: 768px) {
.navbar-collapse {
width: auto;
padding: 0;
padding-right: 0;
padding-left: 0;
border-top: 0;
box-shadow: none;
}
@@ -3284,6 +3286,8 @@ button.close {
}
.navbar-nav {
padding-top: 7.5px;
padding-bottom: 7.5px;
margin-right: -15px;
margin-left: -15px;
}
@@ -3356,6 +3360,8 @@ button.close {
@media (min-width: 768px) {
.navbar-nav {
float: left;
padding-top: 0;
padding-bottom: 0;
margin: 0;
}
.navbar-nav > li {

File diff suppressed because one or more lines are too long