Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2013-08-19 20:31:16 +0400
committerMark Otto <otto@github.com>2013-08-19 20:31:16 +0400
commit7bc845abfa7aed4c1647ff537bd8bca80df20da3 (patch)
tree0e9a9b998927a0e53583551fcc0d8cb79b459f6b /less/navbar.less
parentb5698361266345c653e7b21ec109bb0f9592129c (diff)
Add default navbar z-index to fix #9844
iOS doesn't pick up the z-indexing properly on the dropdowns unless you specify one for the parent navbar.
Diffstat (limited to 'less/navbar.less')
-rw-r--r--less/navbar.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/less/navbar.less b/less/navbar.less
index a355198940..351e20417a 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -10,6 +10,7 @@
.navbar {
position: relative;
+ z-index: @zindex-navbar;
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
margin-bottom: @navbar-margin-bottom;
border: 1px solid transparent;
@@ -127,7 +128,6 @@
position: fixed;
right: 0;
left: 0;
- z-index: @zindex-navbar-fixed;
border-width: 0 0 1px;
// Undo the rounded corners
@@ -136,6 +136,7 @@
}
}
.navbar-fixed-top {
+ z-index: @zindex-navbar-fixed;
top: 0;
}
.navbar-fixed-bottom {