Skip to content

Commit

Permalink
💄 STYLE: Fix text not being displayed in circular Progress in rtl mode (
Browse files Browse the repository at this point in the history
  • Loading branch information
ds1371dani authored Jan 9, 2023
1 parent d0194bc commit 59593e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/progress/style/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,15 @@ const genCircleStyle: GenerateStyle<ProgressToken> = (token) => {
[`&${progressCls}-circle ${progressCls}-text`]: {
position: 'absolute',
insetBlockStart: '50%',
insetInlineStart: '50%',
insetInlineStart: '0',
width: '100%',
margin: 0,
padding: 0,
color: token.colorText,
lineHeight: 1,
whiteSpace: 'normal',
textAlign: 'center',
transform: `translate(-50%, -50%)`,
transform: `translate(0, -50%)`,

[iconPrefixCls]: {
fontSize: `${token.fontSize / token.fontSizeSM}em`,
Expand Down

0 comments on commit 59593e0

Please sign in to comment.