Skip to content

Commit 6cd85a7

Browse files
[WEB-5784] fix: truncation of links in work items (#8430)
1 parent 5590bf7 commit 6cd85a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/web/core/components/issues/issue-detail/links/link-item.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ export const IssueLinkItem = observer(function IssueLinkItem(props: TIssueLinkIt
6060
href={linkDetail.url}
6161
target="_blank"
6262
rel="noopener noreferrer"
63-
className="flex-1 w-0 text-body-xs-regular cursor-pointer flex items-center gap-3"
63+
className="flex-1 w-0 text-body-xs-regular cursor-pointer flex items-center"
6464
>
65-
<span className="truncate">
65+
<span className="truncate flex-1 w-0">
6666
{linkDetail.title && linkDetail.title !== "" ? linkDetail.title : linkDetail.url}
67+
{linkTitle && linkTitle !== "" && (
68+
<span className="text-placeholder text-caption-sm-regular"> {linkTitle}</span>
69+
)}
6770
</span>
68-
{linkTitle && linkTitle !== "" && (
69-
<span className="text-placeholder text-caption-sm-regular flex-shrink-0">{linkTitle}</span>
70-
)}
7171
</a>
7272
</Tooltip>
7373
</div>

0 commit comments

Comments
 (0)