fix: Button custom icon is not align center

This commit is contained in:
afc163 2024-11-15 16:39:02 +08:00
parent 6ee60ed3a1
commit 343099a083

View File

@ -38,12 +38,8 @@ const genSharedButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token): CSS
pointerEvents: 'none',
},
'> span': {
display: 'inline-block',
},
[`${componentCls}-icon`]: {
lineHeight: 1,
[`> span, ${componentCls}-icon`]: {
display: 'inline-flex',
},
'> a': {