Skip to content

Commit

Permalink
fix(badge): number centered but slightly right-aligned (#48605)
Browse files Browse the repository at this point in the history
  • Loading branch information
akinocccc committed Apr 24, 2024
1 parent 11a160c commit cba1533
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/badge/style/index.ts
Expand Up @@ -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,
Expand Down

0 comments on commit cba1533

Please sign in to comment.