mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
fix(badge): number centered but slightly right-aligned (#48605)
This commit is contained in:
parent
11a160cb25
commit
cba15332ff
@ -136,6 +136,8 @@ const genSharedBadgeStyle: GenerateStyle<BadgeToken> = (token) => {
|
||||
lineHeight: 1,
|
||||
|
||||
[`${componentCls}-count`]: {
|
||||
display: 'inline-flex',
|
||||
justifyContent: 'center',
|
||||
zIndex: token.indicatorZIndex,
|
||||
minWidth: indicatorHeight,
|
||||
height: indicatorHeight,
|
||||
|
Loading…
Reference in New Issue
Block a user