2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

update collapsible nav in navbar

This commit is contained in:
Mark Otto
2012-01-29 14:07:14 -08:00
parent 391661f14b
commit 9e7f5025b4
17 changed files with 27 additions and 20 deletions
+2 -1
View File
@@ -42,8 +42,9 @@
.btn-navbar .i-bar + .i-bar {
margin-top: 3px;
}
// Override the default collapsed state
.nav-collapse.collapse {
height: auto !important; // Required to be !important to override native collapse plugin
height: auto;
}
+5 -2
View File
@@ -240,7 +240,7 @@
position: static;
margin-bottom: @baseLineHeight;
}
.navbar-inner {
.navbar-fixed-top .navbar-inner {
padding: 5px;
background-image: none;
}
@@ -335,10 +335,13 @@
}
// Hide everything in the navbar save .brand and toggle button */
.nav-collapse {
.nav-collapse.collapse {
overflow: hidden;
height: 0;
}
.nav-collapse.collapse.in {
height: auto;
}
}