1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 15:50:01 +02:00

Fixes #10433: Navbar z-index refactor

* Resets the default navbar z-index to auto at a certain breakpoint
* Adds fixed navbar z-index var to fixed bottom navbar (previously only on fixed top navbar)
This commit is contained in:
Mark Otto
2013-10-20 20:30:16 -07:00
parent 5aa4c5cb0c
commit e486bb4f39
4 changed files with 30 additions and 3 deletions

View File

@@ -4294,6 +4294,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
@media (min-width: 768px) {
.navbar {
z-index: auto;
border-radius: 4px;
}
}
@@ -4413,6 +4414,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
position: fixed;
right: 0;
left: 0;
z-index: 1030;
}
@media (min-width: 768px) {
@@ -4424,7 +4426,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
.navbar-fixed-top {
top: 0;
z-index: 1030;
border-width: 0 0 1px;
}