diff --git a/components/layout/style/index.tsx b/components/layout/style/index.tsx index 194297dc2268..ef0b63507e8c 100644 --- a/components/layout/style/index.tsx +++ b/components/layout/style/index.tsx @@ -109,7 +109,7 @@ const genLayoutStyle: GenerateStyle = (token) => { marginTop: -0.1, paddingTop: 0.1, - [`${antCls}-menu${antCls}menu-inline-collapsed`]: { + [`${antCls}-menu${antCls}-menu-inline-collapsed`]: { width: 'auto', }, },