Skip to content

Commit

Permalink
[故障] 修复导航菜单在同时设置showToggleButton和collapsed时的宽度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
10229428 committed Aug 3, 2020
1 parent ecfe6af commit 6d46dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jigsaw/pc-components/menu/navigation-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d46dcd

Please sign in to comment.