From 6d46dcda6942618ae4bf290f0421dff2ef992ec3 Mon Sep 17 00:00:00 2001 From: ZhouQing <42016535+10229428@users.noreply.github.com> Date: Mon, 3 Aug 2020 13:38:34 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=95=85=E9=9A=9C]=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E8=8F=9C=E5=8D=95=E5=9C=A8=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E8=AE=BE=E7=BD=AEshowToggleButton=E5=92=8Ccollapsed=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E5=AE=BD=E5=BA=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jigsaw/pc-components/menu/navigation-menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jigsaw/pc-components/menu/navigation-menu.ts b/src/jigsaw/pc-components/menu/navigation-menu.ts index 572a9f94b3..5b3fcda0ff 100644 --- a/src/jigsaw/pc-components/menu/navigation-menu.ts +++ b/src/jigsaw/pc-components/menu/navigation-menu.ts @@ -20,7 +20,7 @@ type PopupAnswer = { host: { '[class.jigsaw-nav-menu]': 'true', '[style.height]': 'height', - '[style.width]': 'collapsed ? null : width' + '[style.width]': 'showToggleButton && collapsed ? null : width' }, animations: [collapseMotion], changeDetection: ChangeDetectionStrategy.OnPush