1
0
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:
Mark Otto
2013-08-19 09:31:16 -07:00
parent b569836126
commit 7bc845abfa
4 changed files with 6 additions and 3 deletions

View File

@@ -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 {