1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fix broken dropdowns in ie7 per #2333

This commit is contained in:
Mark Otto 2012-03-11 20:16:39 -07:00
parent 2e52946fd3
commit 0f23883283
3 changed files with 6 additions and 0 deletions

Binary file not shown.

View file

@ -2730,6 +2730,8 @@ input[type="submit"].btn.btn-small {
*border-left-color: #ffffff; *border-left-color: #ffffff;
} }
.navbar { .navbar {
*position: relative;
*z-index: 2;
overflow: visible; overflow: visible;
margin-bottom: 18px; margin-bottom: 18px;
} }

View file

@ -6,6 +6,10 @@
// ------------- // -------------
.navbar { .navbar {
// Fix for IE7's bad z-indexing so dropdowns don't appear below content that follows the navbar
*position: relative;
*z-index: 2;
overflow: visible; overflow: visible;
margin-bottom: @baseLineHeight; margin-bottom: @baseLineHeight;
} }