mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): Misalignment of model search entries
This commit is contained in:
parent
7789e8319c
commit
6ecf53078f
@ -91,7 +91,9 @@ function SearchModelEntry({
|
|||||||
onChange={foundModelsChangeHandler}
|
onChange={foundModelsChangeHandler}
|
||||||
></IAICheckbox>
|
></IAICheckbox>
|
||||||
{existingModels.includes(model.location) && (
|
{existingModels.includes(model.location) && (
|
||||||
<Badge colorScheme="accent">{t('modelManager.modelExists')}</Badge>
|
<Badge colorScheme="accent" paddingX={2} paddingY={1}>
|
||||||
|
{t('modelManager.modelExists')}
|
||||||
|
</Badge>
|
||||||
)}
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
<Text fontStyle="italic" variant="subtext">
|
<Text fontStyle="italic" variant="subtext">
|
||||||
@ -215,10 +217,10 @@ export default function SearchModels() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<Flex flexDirection="column" rowGap={4}>
|
||||||
{newFoundModels}
|
{newFoundModels}
|
||||||
{shouldShowExistingModelsInSearch && existingFoundModels}
|
{shouldShowExistingModelsInSearch && existingFoundModels}
|
||||||
</>
|
</Flex>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user