diff options
| author | Jacob Thornton <[email protected]> | 2012-03-25 13:33:36 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-03-25 13:33:36 -0700 |
| commit | a62810918f8a27b5755258521422eb912a1edfd8 (patch) | |
| tree | 085cda38b04a9793165b01c704eb2a0f168b7c70 /less | |
| parent | a5552a1d700a1caa2d87ea4bbccc59205b6e72f9 (diff) | |
| download | bootstrap-a62810918f8a27b5755258521422eb912a1edfd8.tar.xz bootstrap-a62810918f8a27b5755258521422eb912a1edfd8.zip | |
fix responsive navbar
Diffstat (limited to 'less')
| -rw-r--r-- | less/navbar.less | 2 | ||||
| -rw-r--r-- | less/responsive-navbar.less | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/less/navbar.less b/less/navbar.less index 7d82e84a0..f2f5153a7 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -16,7 +16,7 @@ // Gradient is applied to it's own element because overflow visible is not honored by IE when filter is present .navbar-inner { - height: @navbarHeight; + min-height: @navbarHeight; padding-left: 20px; padding-right: 20px; #gradient > .vertical(@navbarBackgroundHighlight, @navbarBackground); diff --git a/less/responsive-navbar.less b/less/responsive-navbar.less index 59e456a22..84b0f33f3 100644 --- a/less/responsive-navbar.less +++ b/less/responsive-navbar.less @@ -112,7 +112,7 @@ } // Hide everything in the navbar save .brand and toggle button */ - .nav-collapse { + .nav-collapse, .nav-collapse.collapse { overflow: hidden; height: 0; } @@ -128,4 +128,4 @@ height: auto !important; overflow: visible !important; } -} +}
\ No newline at end of file |
