Browse Source

Fix handling of long user names.

main
Titouan Rigoudy 4 years ago
parent
commit
7e91820fd8
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/modules/user/UserListEntry.tsx

+ 4
- 1
src/modules/user/UserListEntry.tsx View File

@ -12,7 +12,10 @@ const UserListEntry: FC<Props> = ({ name }) => {
<NavLink <NavLink
to={getUserDetailsPath(name)} to={getUserDetailsPath(name)}
activeClassName="bg-yellow-300 font-bold" activeClassName="bg-yellow-300 font-bold"
className={`block p-3 hover:bg-yellow-300 rounded-xl`}
className={
"block p-3 hover:bg-yellow-300 rounded-xl " +
"truncate whitespace-nowrap"
}
> >
{name} {name}
</NavLink> </NavLink>


Loading…
Cancel
Save