mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
parent
d24c55a0bb
commit
8a85d7a642
@ -176,7 +176,7 @@ const genCircleStyle: GenerateStyle<ProgressToken> = (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<ProgressToken> = (token) => {
|
||||
lineHeight: 1,
|
||||
whiteSpace: 'normal',
|
||||
textAlign: 'center',
|
||||
transform: `translate(0, -50%)`,
|
||||
transform: 'translateY(-50%)',
|
||||
|
||||
[iconPrefixCls]: {
|
||||
fontSize: `${token.fontSize / token.fontSizeSM}em`,
|
||||
|
Loading…
Reference in New Issue
Block a user