fix: truncate long usernames in UI

Long usernames were causing layout issues in several parts of the application. This change truncates long usernames with an ellipsis to prevent them from overflowing.

The following areas have been fixed:
- Edit User modal
- User Chats modal
- Edit User Group modal
- Users table in the admin overview

fix: truncate long usernames in UI

Long usernames were causing layout issues in several parts of the application. This change truncates long usernames with an ellipsis to prevent them from overflowing.

The following areas have been fixed:
- Edit User modal
- User Chats modal
- Edit User Group modal
- Users table in the admin overview

Revert "fix: truncate long usernames in UI"

This reverts commit b623fdc95d0c494228b49f9369db3bbb3042cef0.
This commit is contained in:
silentoplayz
2025-09-26 18:30:48 -04:00
parent 807a8be299
commit 16cf973ce5
4 changed files with 11 additions and 9 deletions
@@ -75,10 +75,10 @@
/>
</div>
<div class="flex w-full items-center justify-between">
<div class="flex w-full items-center justify-between overflow-hidden">
<Tooltip content={user.email} placement="top-start">
<div class="flex">
<div class=" font-medium self-center">{user.name}</div>
<div class=" font-medium self-center truncate">{user.name}</div>
</div>
</Tooltip>