mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
fix(NavBar): 修复因box-sizing:border-box导致导航栏高度不正确问题 (#4969)
This commit is contained in:
parent
be710fbf8b
commit
85f28dd52c
@ -7,6 +7,7 @@
|
||||
height: var(--nav-bar-height, @nav-bar-height);
|
||||
line-height: var(--nav-bar-height, @nav-bar-height);
|
||||
background-color: var(--nav-bar-background-color, @nav-bar-background-color);
|
||||
box-sizing: content-box;
|
||||
|
||||
&__content {
|
||||
position: relative;
|
||||
|
Loading…
x
Reference in New Issue
Block a user