style: enhance Badge motion when switch mode (#50607)

pull/50606/head^2
afc163 5 months ago committed by GitHub
parent de92a2c363
commit 8a0a0d2da9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -344,6 +344,7 @@ const genSharedBadgeStyle: GenerateStyle<BadgeToken> = (token) => {
},
[numberPrefixCls]: {
overflow: 'hidden',
transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack}`,
[`${numberPrefixCls}-only`]: {
position: 'relative',
display: 'inline-block',

Loading…
Cancel
Save