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:
10
dist/css/bootstrap.css
vendored
10
dist/css/bootstrap.css
vendored
@@ -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 {
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user