diff options
| author | Mark Otto <[email protected]> | 2013-10-20 21:12:09 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-10-20 21:12:09 -0700 |
| commit | 76baacf2c94bec03273639ef0ed966dad87cf37a (patch) | |
| tree | e5998e84934fd7144516b4132772b8cea2dba47b /less | |
| parent | c71f89518f88d05e4a2f202264498ac85242fcbd (diff) | |
| download | bootstrap-76baacf2c94bec03273639ef0ed966dad87cf37a.tar.xz bootstrap-76baacf2c94bec03273639ef0ed966dad87cf37a.zip | |
Remove default z-index on navbar and only set on static and fixed variants
Diffstat (limited to 'less')
| -rw-r--r-- | less/navbar.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/navbar.less b/less/navbar.less index a6f7b40f6..577e20ed5 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -10,7 +10,6 @@ .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; @@ -19,7 +18,6 @@ .clearfix(); @media (min-width: @grid-float-breakpoint) { - z-index: auto; border-radius: @navbar-border-radius; } } @@ -117,7 +115,9 @@ // Static top (unfixed, but 100% wide) navbar .navbar-static-top { + z-index: @zindex-navbar; border-width: 0 0 1px; + @media (min-width: @grid-float-breakpoint) { border-radius: 0; } |
