afc163
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
components/badge/style/index.ts
|
|
@ -253,7 +253,6 @@ const genSharedBadgeStyle: GenerateStyle<BadgeToken> = (token: BadgeToken): CSSO |
|
|
|
}, |
|
|
|
[`${numberPrefixCls}`]: { |
|
|
|
overflow: 'hidden', |
|
|
|
direction: 'ltr', |
|
|
|
[`${numberPrefixCls}-only`]: { |
|
|
|
position: 'relative', |
|
|
|
display: 'inline-block', |
|
|
@ -276,7 +275,7 @@ const genSharedBadgeStyle: GenerateStyle<BadgeToken> = (token: BadgeToken): CSSO |
|
|
|
direction: 'rtl', |
|
|
|
|
|
|
|
[`${componentCls}-count, ${componentCls}-dot, ${numberPrefixCls}-custom-component`]: { |
|
|
|
insetInlineEnd: 'auto', |
|
|
|
transform: 'translate(-50%, -50%)', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|