chore: add Suggested change (#40106)

* Suggested change

* fix
This commit is contained in:
lijianan 2023-01-09 17:07:39 +08:00 committed by GitHub
parent d24c55a0bb
commit 8a85d7a642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ const genCircleStyle: GenerateStyle<ProgressToken> = (token) => {
[`&${progressCls}-circle ${progressCls}-text`]: { [`&${progressCls}-circle ${progressCls}-text`]: {
position: 'absolute', position: 'absolute',
insetBlockStart: '50%', insetBlockStart: '50%',
insetInlineStart: '0', insetInlineStart: 0,
width: '100%', width: '100%',
margin: 0, margin: 0,
padding: 0, padding: 0,
@ -184,7 +184,7 @@ const genCircleStyle: GenerateStyle<ProgressToken> = (token) => {
lineHeight: 1, lineHeight: 1,
whiteSpace: 'normal', whiteSpace: 'normal',
textAlign: 'center', textAlign: 'center',
transform: `translate(0, -50%)`, transform: 'translateY(-50%)',
[iconPrefixCls]: { [iconPrefixCls]: {
fontSize: `${token.fontSize / token.fontSizeSM}em`, fontSize: `${token.fontSize / token.fontSizeSM}em`,