Skip to content

Commit

Permalink
fix broken dropdowns in ie7 per twbs#2333
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Mar 12, 2012
1 parent 2e52946 commit 0f23883
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file modified docs/assets/bootstrap.zip
Binary file not shown.
2 changes: 2 additions & 0 deletions docs/assets/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2730,6 +2730,8 @@ input[type="submit"].btn.btn-small {
*border-left-color: #ffffff;
}
.navbar {
*position: relative;
*z-index: 2;
overflow: visible;
margin-bottom: 18px;
}
Expand Down
4 changes: 4 additions & 0 deletions less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
// -------------

.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;
margin-bottom: @baseLineHeight;
}
Expand Down

0 comments on commit 0f23883

Please sign in to comment.