Fix: Conversations tabs overlapping

This commit is contained in:
Aditya Gupta
2023-10-06 23:37:23 +05:30
parent b64495f7a9
commit 943bf477a0

View File

@@ -201,7 +201,9 @@ export default function Navigation() {
<div className="flex gap-4">
<img src={Message} className="ml-2 w-5"></img>
<p className="my-auto text-eerie-black">
{conversation.name}
{conversation.name.length > 45
? conversation.name.substring(0, 45) + '...'
: conversation.name}
</p>
</div>