mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix lora name wrap
This commit is contained in:
parent
850458a554
commit
1197133d06
@ -4,8 +4,8 @@ import {
|
|||||||
CardHeader,
|
CardHeader,
|
||||||
CompositeNumberInput,
|
CompositeNumberInput,
|
||||||
CompositeSlider,
|
CompositeSlider,
|
||||||
FormLabel,
|
|
||||||
IconButton,
|
IconButton,
|
||||||
|
Text,
|
||||||
} from '@invoke-ai/ui';
|
} from '@invoke-ai/ui';
|
||||||
import { useAppDispatch } from 'app/store/storeHooks';
|
import { useAppDispatch } from 'app/store/storeHooks';
|
||||||
import type { LoRA } from 'features/lora/store/loraSlice';
|
import type { LoRA } from 'features/lora/store/loraSlice';
|
||||||
@ -35,9 +35,9 @@ export const LoRACard = memo((props: LoRACardProps) => {
|
|||||||
return (
|
return (
|
||||||
<Card variant="lora">
|
<Card variant="lora">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<FormLabel noOfLines={1} wordBreak="break-all">
|
<Text noOfLines={1} wordBreak="break-all" color="base.200">
|
||||||
{lora.model_name}
|
{lora.model_name}
|
||||||
</FormLabel>
|
</Text>
|
||||||
<IconButton
|
<IconButton
|
||||||
aria-label="Remove LoRA"
|
aria-label="Remove LoRA"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
Loading…
Reference in New Issue
Block a user