feat: improve text wrap

This commit is contained in:
reya
2024-06-01 08:27:22 +07:00
parent f94680e487
commit 2e885b76a1
3 changed files with 3 additions and 5 deletions

View File

@@ -102,7 +102,7 @@ export function NoteContent({
<div className="flex flex-col gap-2">
<div
className={cn(
"select-text text-[15px] text-balance break-words overflow-hidden",
"select-text text-[15px] text-pretty overflow-hidden",
event.content.length > 500 ? "max-h-[300px] gradient-mask-b-0" : "",
className,
)}