fix: issue title breaking in issue card (#1339)

This commit is contained in:
Aaryan Khandelwal 2023-06-23 11:09:47 +05:30 committed by GitHub
parent d3c56c1765
commit 8982452500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,11 +338,8 @@ export const SingleBoardIssue: React.FC<Props> = ({
{issue.project_detail.identifier}-{issue.sequence_id}
</div>
)}
<h5
className="break-all text-sm group-hover:text-brand-accent"
style={{ lineClamp: 3, WebkitLineClamp: 3 }}
>
{truncateText(issue.name, 100)}
<h5 className="text-sm group-hover:text-brand-accent">
{truncateText(issue.name, 120)}
</h5>
</a>
</Link>