Skip to content

Commit

Permalink
fix(layout-sider): menu-item width is wrong when collapsedWidth is set (
Browse files Browse the repository at this point in the history
#30357)

close #30355
  • Loading branch information
Map1en committed Apr 30, 2021
1 parent 3b51792 commit a39e51a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/menu/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,9 @@
}

&-inline-collapsed {
width: @menu-collapsed-width;
&:not(.@{ant-prefix}-layout-sider-children > ul) {
width: @menu-collapsed-width;
}
> .@{menu-prefix-cls}-item,
> .@{menu-prefix-cls}-item-group
> .@{menu-prefix-cls}-item-group-list
Expand Down

0 comments on commit a39e51a

Please sign in to comment.