mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
fix(layout-sider): menu-item width is wrong when collapsedWidth is set (#30357)
close #30355
This commit is contained in:
parent
3b51792f9c
commit
a39e51a8c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user