mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-18 12:39:41 +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:
Vendored
+2
-1
@@ -4013,6 +4013,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
min-height: 50px;
|
||||
margin-bottom: 20px;
|
||||
border: 1px solid transparent;
|
||||
@@ -4159,7 +4160,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 1030;
|
||||
border-width: 0 0 1px;
|
||||
}
|
||||
|
||||
@@ -4172,6 +4172,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
||||
|
||||
.navbar-fixed-top {
|
||||
top: 0;
|
||||
z-index: 1030;
|
||||
}
|
||||
|
||||
.navbar-fixed-bottom {
|
||||
|
||||
Reference in New Issue
Block a user