Skip to content

Commit

Permalink
Merge pull request #3953 from JoinColony/fix/2985-wrap-long-descriptions
Browse files Browse the repository at this point in the history
Fix: Wrap long descriptions
  • Loading branch information
rumzledz authored Dec 17, 2024
2 parents e323a02 + 0c6bd82 commit 6347bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/v5/shared/RichText/RichText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const RichText: FC<RichTextProps> = ({

setIsTextTruncated(ref.scrollHeight > ref.offsetHeight);
}}
className="line-clamp-2 text-left"
className="line-clamp-2 text-left break-word"
>
{notFormattedContent}
</span>
Expand Down

0 comments on commit 6347bcd

Please sign in to comment.