fix(ui): autoadd badge doesn't flex shrink

This commit is contained in:
psychedelicious 2024-07-09 22:39:32 +10:00
parent 80e1b87b9e
commit d38d513d23

View File

@ -5,7 +5,7 @@ import { useTranslation } from 'react-i18next';
export const AutoAddBadge = memo(() => { export const AutoAddBadge = memo(() => {
const { t } = useTranslation(); const { t } = useTranslation();
return ( return (
<Badge color="invokeBlue.400" borderColor="invokeBlue.700" borderWidth={1} bg="transparent"> <Badge color="invokeBlue.400" borderColor="invokeBlue.700" borderWidth={1} bg="transparent" flexShrink={0}>
{t('common.auto')} {t('common.auto')}
</Badge> </Badge>
); );