diff --git a/components/layout/style/sider.ts b/components/layout/style/sider.ts index 6a2d5cd180..10790a5f9a 100644 --- a/components/layout/style/sider.ts +++ b/components/layout/style/sider.ts @@ -74,7 +74,7 @@ const genSiderStyle: GenerateStyle = (token) => { overflow: 'hidden', }, - [`${componentCls}-trigger`]: { + '&-trigger': { position: 'absolute', top: headerHeight, insetInlineEnd: token.calc(zeroTriggerWidth).mul(-1).equal(),