From 00a4e2d3c40cf97168d4ea5148196db76027d400 Mon Sep 17 00:00:00 2001 From: Jony J <82765353+aojunhao123@users.noreply.github.com> Date: Sat, 19 Oct 2024 23:11:38 +0800 Subject: [PATCH] fix(Layout): Fix Layout collapse trigger missing style (#51313) --- components/layout/style/sider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),