[WEB-5784] fix: truncation of links in work items (#8430)
This commit is contained in:
parent
5590bf7198
commit
6cd85a7095
1 changed files with 5 additions and 5 deletions
|
|
@ -60,14 +60,14 @@ export const IssueLinkItem = observer(function IssueLinkItem(props: TIssueLinkIt
|
||||||
href={linkDetail.url}
|
href={linkDetail.url}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="flex-1 w-0 text-body-xs-regular cursor-pointer flex items-center gap-3"
|
className="flex-1 w-0 text-body-xs-regular cursor-pointer flex items-center"
|
||||||
>
|
>
|
||||||
<span className="truncate">
|
<span className="truncate flex-1 w-0">
|
||||||
{linkDetail.title && linkDetail.title !== "" ? linkDetail.title : linkDetail.url}
|
{linkDetail.title && linkDetail.title !== "" ? linkDetail.title : linkDetail.url}
|
||||||
|
{linkTitle && linkTitle !== "" && (
|
||||||
|
<span className="text-placeholder text-caption-sm-regular"> {linkTitle}</span>
|
||||||
|
)}
|
||||||
</span>
|
</span>
|
||||||
{linkTitle && linkTitle !== "" && (
|
|
||||||
<span className="text-placeholder text-caption-sm-regular flex-shrink-0">{linkTitle}</span>
|
|
||||||
)}
|
|
||||||
</a>
|
</a>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue