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:
neverland 2024-04-26 17:45:30 +08:00 committed by GitHub
parent 2afb721e5e
commit c8bd145ab4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ const genStepsCustomIconStyle: GenerateStyle<StepsToken, CSSObject> = (token) =>
width: customIconSize,
height: customIconSize,
fontSize: customIconFontSize,
lineHeight: `${unit(customIconFontSize)}`,
lineHeight: `${unit(customIconSize)}`,
},
},
},