Update line of memories to not overflow

This commit is contained in:
Aryan Keluskar 2024-07-27 04:09:45 +05:30 committed by GitHub
parent 613c0d3199
commit 9143e940df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -312,7 +312,7 @@ function LinkComponent({
<div className="text-lg text-[#fff] mt-4 line-clamp-2">
{title.replace(/(<---chunkId: .*?\n.*?\n---->)/g, "")}
</div>
<div className="line-clamp-3 mt-2">
<div className="truncate line-clamp-3 mt-2">
{content.replace(title, "")}
</div>
</>