style(NavBar): z-index not work when border is hidden (#7612)

This commit is contained in:
neverland 2020-11-23 21:19:25 +08:00 committed by GitHub
parent 39b0a4282d
commit 40062ad21b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
@import '../style/var';
.van-nav-bar {
position: relative;
z-index: @nav-bar-z-index;
line-height: @line-height-lg;
text-align: center;