feat: truncate long chatname (#1076)

This commit is contained in:
Mamadou DICKO 2023-08-31 14:54:57 +02:00 committed by GitHub
parent e769eddd76
commit 4306f60959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,5 +19,5 @@ export const ChatName = ({
);
}
return <p>{name}</p>;
return <span className="max-w-[150px] truncate">{name}</span>;
};