fix(Spin): progress bar mode in container not centered error (#50277)

This commit is contained in:
2024-08-06 22:26:46 +08:00 committed by GitHub
parent ddcdb2a6a2
commit 5f3ab95a10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,8 +209,8 @@ const genSpinStyle: GenerateStyle<SpinToken> = (token: SpinToken): CSSObject =>
[`${componentCls}-dot-progress`]: {
position: 'absolute',
top: '50%',
transform: 'translateY(-50%)',
insetInlineStart: 0,
transform: 'translate(-50%, -50%)',
insetInlineStart: '50%',
},
// dots