mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix wrapping for <AttachmentLink /> (#7272)
This commit is contained in:
parent
e93d9c4a74
commit
921bf91500
@ -72,7 +72,7 @@ export function AttachmentLink({
|
|||||||
}, [host, attachment, external]);
|
}, [host, attachment, external]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Group justify="left" gap="sm">
|
<Group justify="left" gap="sm" wrap="nowrap">
|
||||||
{external ? <IconLink /> : attachmentIcon(attachment)}
|
{external ? <IconLink /> : attachmentIcon(attachment)}
|
||||||
<Anchor href={url} target="_blank" rel="noopener noreferrer">
|
<Anchor href={url} target="_blank" rel="noopener noreferrer">
|
||||||
{text}
|
{text}
|
||||||
|
Loading…
Reference in New Issue
Block a user