mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): autoadd badge doesn't flex shrink
This commit is contained in:
parent
80e1b87b9e
commit
d38d513d23
@ -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>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user