fix(Layout): Fix Layout collapse trigger missing style (#51313)

This commit is contained in:
Jony J 2024-10-19 23:11:38 +08:00 committed by GitHub
parent 332d885f8f
commit 00a4e2d3c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,7 @@ const genSiderStyle: GenerateStyle<LayoutToken, CSSObject> = (token) => {
overflow: 'hidden', overflow: 'hidden',
}, },
[`${componentCls}-trigger`]: { '&-trigger': {
position: 'absolute', position: 'absolute',
top: headerHeight, top: headerHeight,
insetInlineEnd: token.calc(zeroTriggerWidth).mul(-1).equal(), insetInlineEnd: token.calc(zeroTriggerWidth).mul(-1).equal(),