diff --git a/components/progress/style/index.tsx b/components/progress/style/index.tsx index ea923affefb2..9a23a6819e53 100644 --- a/components/progress/style/index.tsx +++ b/components/progress/style/index.tsx @@ -176,7 +176,7 @@ const genCircleStyle: GenerateStyle = (token) => { [`&${progressCls}-circle ${progressCls}-text`]: { position: 'absolute', insetBlockStart: '50%', - insetInlineStart: '0', + insetInlineStart: 0, width: '100%', margin: 0, padding: 0, @@ -184,7 +184,7 @@ const genCircleStyle: GenerateStyle = (token) => { lineHeight: 1, whiteSpace: 'normal', textAlign: 'center', - transform: `translate(0, -50%)`, + transform: 'translateY(-50%)', [iconPrefixCls]: { fontSize: `${token.fontSize / token.fontSizeSM}em`,