Merge pull request #472 from adityagupta19/main

Fix: Conversations tabs overlapping
This commit is contained in:
Alex 2023-10-06 22:29:37 +01:00 committed by GitHub
commit 3182816965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>