aboutsummaryrefslogtreecommitdiff
path: root/less
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 /less
parent2e52946fd3e71ef33da7035471a0e1051010df52 (diff)
downloadbootstrap-0f238832833a1189397028e882b9c8a11acd1adf.tar.xz
bootstrap-0f238832833a1189397028e882b9c8a11acd1adf.zip
fix broken dropdowns in ie7 per #2333
Diffstat (limited to 'less')
-rw-r--r--less/navbar.less4
1 files changed, 4 insertions, 0 deletions
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;
}