mirror of
https://github.com/jasny/bootstrap.git
synced 2026-02-04 19:15:08 -05:00
Fix floats in navbar
This commit is contained in:
@@ -76,8 +76,8 @@
|
||||
background-color: @navbar-link-bg-active;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.navbar {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
@@ -89,8 +89,13 @@
|
||||
margin-left: -15px;
|
||||
}
|
||||
.navbar .nav {
|
||||
.clear_float();
|
||||
float: left;
|
||||
margin-top: 0; // undo top margin to make nav extend full height of navbar
|
||||
.clear_float();
|
||||
|
||||
&.pull-right {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
.navbar .nav > li {
|
||||
float: left;
|
||||
@@ -101,11 +106,9 @@
|
||||
display: none;
|
||||
}
|
||||
.nav-collapse.collapse {
|
||||
float: left;
|
||||
height: auto !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Inverse navbar
|
||||
|
||||
Reference in New Issue
Block a user