Merge pull request #175 from aryankeluskar/main

Update line of memories to not overflow
This commit is contained in:
Dhravya Shah 2024-07-27 10:10:39 -05:00 committed by GitHub
commit 7e66d47bd5
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>
</>