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}`]: { |
|
|
[`${numberPrefixCls}`]: { |
|
|
overflow: 'hidden', |
|
|
overflow: 'hidden', |
|
|
direction: 'ltr', |
|
|
|
|
|
[`${numberPrefixCls}-only`]: { |
|
|
[`${numberPrefixCls}-only`]: { |
|
|
position: 'relative', |
|
|
position: 'relative', |
|
|
display: 'inline-block', |
|
|
display: 'inline-block', |
|
@ -276,7 +275,7 @@ const genSharedBadgeStyle: GenerateStyle<BadgeToken> = (token: BadgeToken): CSSO |
|
|
direction: 'rtl', |
|
|
direction: 'rtl', |
|
|
|
|
|
|
|
|
[`${componentCls}-count, ${componentCls}-dot, ${numberPrefixCls}-custom-component`]: { |
|
|
[`${componentCls}-count, ${componentCls}-dot, ${numberPrefixCls}-custom-component`]: { |
|
|
insetInlineEnd: 'auto', |
|
|
transform: 'translate(-50%, -50%)', |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|