1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 22:41:20 +02:00

Fix floats in navbar

This commit is contained in:
Mark Otto
2013-01-17 11:20:19 -08:00
parent 01b32f472d
commit 360f0c5359
2 changed files with 11 additions and 5 deletions

View File

@@ -3046,6 +3046,7 @@ button.close {
margin-left: -15px;
}
.navbar .nav {
float: left;
margin-top: 0;
}
.navbar .nav:before,
@@ -3056,6 +3057,9 @@ button.close {
.navbar .nav:after {
clear: both;
}
.navbar .nav.pull-right {
float: right;
}
.navbar .nav > li {
float: left;
}
@@ -3063,7 +3067,6 @@ button.close {
display: none;
}
.nav-collapse.collapse {
float: left;
height: auto !important;
overflow: visible !important;
}