mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
fix(step): custom icon not vertically centered error (#48650)
* fix: Fix the issue where the custom icon is not vertically centered at the default size of Steps * Co-authored-by: nova1751 <nova1751@users.noreply.github.com> --------- Co-authored-by: nova1751 <nova1751@users.noreply.github.com> Co-authored-by: 红 <wxh1220@gmail.com>
This commit is contained in:
parent
2afb721e5e
commit
c8bd145ab4
@ -18,7 +18,7 @@ const genStepsCustomIconStyle: GenerateStyle<StepsToken, CSSObject> = (token) =>
|
||||
width: customIconSize,
|
||||
height: customIconSize,
|
||||
fontSize: customIconFontSize,
|
||||
lineHeight: `${unit(customIconFontSize)}`,
|
||||
lineHeight: `${unit(customIconSize)}`,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user