aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-11 20:16:39 -0700
committerMark Otto <[email protected]>2012-03-11 20:16:39 -0700
commit0f238832833a1189397028e882b9c8a11acd1adf (patch)
tree812742ed4cf0ab3e2e9f785c445e329f7dee106c
parent2e52946fd3e71ef33da7035471a0e1051010df52 (diff)
downloadbootstrap-0f238832833a1189397028e882b9c8a11acd1adf.tar.xz
bootstrap-0f238832833a1189397028e882b9c8a11acd1adf.zip
fix broken dropdowns in ie7 per #2333
-rw-r--r--docs/assets/bootstrap.zipbin55144 -> 55156 bytes
-rw-r--r--docs/assets/css/bootstrap.css2
-rw-r--r--less/navbar.less4
3 files changed, 6 insertions, 0 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 931523438..5c1286f8a 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 6754007bd..e52ab7b00 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -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;
}
diff --git a/less/navbar.less b/less/navbar.less
index 8d0822473..d443a37d0 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -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;
}