Revert "fix(icon-button): Button icon not vertically centered error" (#51588)

This commit is contained in:
𝑾𝒖𝒙𝒉 2024-11-12 13:49:12 +08:00 committed by GitHub
parent 6e016b88c3
commit 7379233810
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,8 +39,7 @@ const genSharedButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token): CSS
}, },
'> span': { '> span': {
// https://github.com/ant-design/ant-design/issues/51380 display: 'inline-block',
display: 'inline-flex',
}, },
[`${componentCls}-icon`]: { [`${componentCls}-icon`]: {