From a5dc4069b125fdc9ca9b180bc312e9d779d3d3ef Mon Sep 17 00:00:00 2001 From: Jony J <1844749591@qq.com> Date: Sun, 8 Dec 2024 23:34:29 +0800 Subject: [PATCH] fix(layout): enhance Sider zero-width-trigger selector specificity (#51936) --- 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 10790a5f9a..c27a083ce9 100644 --- a/components/layout/style/sider.ts +++ b/components/layout/style/sider.ts @@ -69,7 +69,7 @@ const genSiderStyle: GenerateStyle = (token) => { transition: `all ${motionDurationMid}`, }, - '&-zero-width': { + [`${antCls}-layout &-zero-width`]: { '> *': { overflow: 'hidden', },