diff --git a/src/nav-bar/index.less b/src/nav-bar/index.less index 8fb25bc7f..582a0a82a 100644 --- a/src/nav-bar/index.less +++ b/src/nav-bar/index.less @@ -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;