Skip to content

Commit f11ce3e

Browse files
committed
fix: badge ui bug
1 parent 7835c8a commit f11ce3e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

package/src/components/ui/Badge/BadgeCount.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,14 @@ const textStyles = {
2828
sm: {
2929
fontSize: primitives.typographyFontSizeXxs,
3030
fontWeight: primitives.typographyFontWeightBold,
31-
lineHeight: primitives.typographyLineHeightTight,
3231
},
3332
md: {
3433
fontSize: primitives.typographyFontSizeSm,
3534
fontWeight: primitives.typographyFontWeightBold,
36-
lineHeight: primitives.typographyLineHeightNormal,
3735
},
3836
lg: {
3937
fontSize: primitives.typographyFontSizeSm,
4038
fontWeight: primitives.typographyFontWeightBold,
41-
lineHeight: primitives.typographyLineHeightNormal,
4239
},
4340
};
4441

package/src/components/ui/Badge/BadgeNotification.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@ const textStyles = {
2626
sm: {
2727
fontSize: primitives.typographyFontSizeSm,
2828
fontWeight: primitives.typographyFontWeightBold,
29-
lineHeight: 14,
3029
},
3130
xs: {
3231
fontSize: primitives.typographyFontSizeXxs,
3332
fontWeight: primitives.typographyFontWeightBold,
34-
lineHeight: 10,
3533
},
3634
};
3735

@@ -71,6 +69,7 @@ const useStyles = () => {
7169
paddingHorizontal: primitives.spacingXxs,
7270
borderRadius: primitives.radiusMax,
7371
justifyContent: 'center',
72+
alignItems: 'center',
7473
},
7574
border: {
7675
borderWidth: 2,

0 commit comments

Comments
 (0)