diff --git a/components/menu/style/index.less b/components/menu/style/index.less index c80f023f4c..b0536cda92 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -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