From 0c6bd822ebfe4dd7ba212350b9dd0f39d13a5b2a Mon Sep 17 00:00:00 2001 From: Romeo Ledesma Date: Tue, 17 Dec 2024 03:00:43 +0800 Subject: [PATCH] fix: wrap long descriptions --- src/components/v5/shared/RichText/RichText.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/v5/shared/RichText/RichText.tsx b/src/components/v5/shared/RichText/RichText.tsx index 193d63eac06..892fe555e22 100644 --- a/src/components/v5/shared/RichText/RichText.tsx +++ b/src/components/v5/shared/RichText/RichText.tsx @@ -133,7 +133,7 @@ const RichText: FC = ({ setIsTextTruncated(ref.scrollHeight > ref.offsetHeight); }} - className="line-clamp-2 text-left" + className="line-clamp-2 text-left break-word" > {notFormattedContent}