fix: words breaking abruptly (#1371)

This commit is contained in:
Aaryan Khandelwal 2023-06-23 19:30:11 +05:30 committed by GitHub
parent ca799a2b02
commit 428d0dbac9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 42 additions and 38 deletions

View file

@ -150,8 +150,8 @@ export const SingleCycleCard: React.FC<TSingleStatProps> = ({
}`}
/>
</span>
<Tooltip tooltipContent={cycle.name} className="break-all" position="top-left">
<h3 className="break-all text-lg font-semibold">
<Tooltip tooltipContent={cycle.name} className="break-words" position="top-left">
<h3 className="break-words text-lg font-semibold">
{truncateText(cycle.name, 15)}
</h3>
</Tooltip>