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:
parent
2e52946fd3
commit
0f23883283
3 changed files with 6 additions and 0 deletions
Binary file not shown.
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue