fix: memory leak in image component

This commit is contained in:
reya
2024-06-03 07:32:34 +07:00
parent 38d6c51921
commit 7c7b082b3a
10 changed files with 622 additions and 434 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-pretty overflow-hidden",
"select-text text-[15px] text-pretty content-break overflow-hidden",
event.content.length > 500 ? "max-h-[300px] gradient-mask-b-0" : "",
className,
)}