fix(striker-ui): increase indicator font size in IconWithIndicator

main
Tsu-ba-me 2 years ago
parent e1db471366
commit 8743b4697c
  1. 5
      striker-ui/components/IconWithIndicator.tsx

@ -49,7 +49,7 @@ const ICON_WITH_INDICATOR_DEFAULT_PROPS: Required<IconWithIndicatorOptionalProps
initialIndicatorValue: false, initialIndicatorValue: false,
}; };
const INDICATOR_LENGTH = { small: '24%', medium: '50%' }; const INDICATOR_LENGTH = { small: '24%', medium: '50%' };
const INDICATOR_MAX = 99; const INDICATOR_MAX = 9;
const INDICATOR_OFFSET = { small: '.1rem', medium: '0rem' }; const INDICATOR_OFFSET = { small: '.1rem', medium: '0rem' };
const IconWithIndicator = forwardRef< const IconWithIndicator = forwardRef<
@ -121,8 +121,7 @@ const IconWithIndicator = forwardRef<
<BodyText <BodyText
{...restIndicatorTextProps} {...restIndicatorTextProps}
sx={{ sx={{
fontSize: '.7rem', fontWeight: '500',
fontWeight: '700',
paddingTop: '100%', paddingTop: '100%',
...indicatorTextSx, ...indicatorTextSx,

Loading…
Cancel
Save