mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix metadata viewer image url length when viewing intermediate
This commit is contained in:
parent
cdc5f66592
commit
e358adecdd
@ -143,8 +143,10 @@ const ImageMetadataViewer = memo(
|
|||||||
<Flex gap={1} direction={'column'} width={'100%'}>
|
<Flex gap={1} direction={'column'} width={'100%'}>
|
||||||
<Flex gap={2}>
|
<Flex gap={2}>
|
||||||
<Text fontWeight={'semibold'}>File:</Text>
|
<Text fontWeight={'semibold'}>File:</Text>
|
||||||
<Link href={image.url} isExternal>
|
<Link href={image.url} isExternal maxW={'calc(100% - 3rem)'}>
|
||||||
{image.url}
|
{image.url.length > 64
|
||||||
|
? image.url.substring(0, 64).concat('...')
|
||||||
|
: image.url}
|
||||||
<ExternalLinkIcon mx="2px" />
|
<ExternalLinkIcon mx="2px" />
|
||||||
</Link>
|
</Link>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
Loading…
Reference in New Issue
Block a user