mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
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.
This commit is contained in:
+2
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user