mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 00:49:39 +08:00
fix: Button custom icon is not align center
This commit is contained in:
parent
6ee60ed3a1
commit
343099a083
@ -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': {
|
||||
|
Loading…
Reference in New Issue
Block a user