mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02: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:
3
dist/css/bootstrap.css
vendored
3
dist/css/bootstrap.css
vendored
@@ -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