From 85f28dd52cf8944c1f89392c1f0ee1db76c94527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=B0=8F=E8=BF=AA?= <740191337@qq.com> Date: Tue, 14 Jun 2022 09:37:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(NavBar):=20=E4=BF=AE=E5=A4=8D=E5=9B=A0box-s?= =?UTF-8?q?izing:border-box=E5=AF=BC=E8=87=B4=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E4=B8=8D=E6=AD=A3=E7=A1=AE=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#4969)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/nav-bar/index.less | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nav-bar/index.less b/packages/nav-bar/index.less index 13720184..627373c7 100644 --- a/packages/nav-bar/index.less +++ b/packages/nav-bar/index.less @@ -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;