fix(NavBar): 修复因box-sizing:border-box导致导航栏高度不正确问题 (#4969)

This commit is contained in:
刘小迪 2022-06-14 09:37:23 +08:00 committed by GitHub
parent be710fbf8b
commit 85f28dd52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;