style(NavBar): improve text size adjust

This commit is contained in:
chenjiahan 2020-05-04 17:31:32 +08:00
parent 18a0c545ec
commit 7effb7cf6c

View File

@ -3,8 +3,10 @@
.van-nav-bar {
position: relative;
z-index: @nav-bar-z-index;
display: flex;
align-items: center;
height: @nav-bar-height;
line-height: @nav-bar-height;
line-height: 1.5;
text-align: center;
background-color: @nav-bar-background-color;
user-select: none;