fix(layout): enhance Sider zero-width-trigger selector specificity (#51936)

This commit is contained in:
Jony J 2024-12-08 23:34:29 +08:00 committed by GitHub
parent 0c76dd7958
commit a5dc4069b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ const genSiderStyle: GenerateStyle<LayoutToken, CSSObject> = (token) => {
transition: `all ${motionDurationMid}`,
},
'&-zero-width': {
[`${antCls}-layout &-zero-width`]: {
'> *': {
overflow: 'hidden',
},