mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +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);
|
height: var(--nav-bar-height, @nav-bar-height);
|
||||||
line-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);
|
background-color: var(--nav-bar-background-color, @nav-bar-background-color);
|
||||||
|
box-sizing: content-box;
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user