Skip to content

Commit

Permalink
fix(ui): table width on mobile size
Browse files Browse the repository at this point in the history
  • Loading branch information
gozarman committed Mar 1, 2024
1 parent 0e27137 commit ccbe12d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/dashboard/src/components/UsersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,16 @@ export const UsersTable: FC<UsersTableProps> = (props) => {
onClick={toggleAccordion.bind(null, i)}
cursor="pointer"
>
<Td borderBottom={0} minW="100px" pl={4} pr={4}>
<Td
borderBottom={0}
minW="100px"
pl={4}
pr={4}
maxW="calc(100vw - 50px - 32px - 100px - 48px)"
>
<div className="flex-status">
<OnlineBadge lastOnline={user.online_at} />
{user.username}
<Text isTruncated>{user.username}</Text>
</div>
</Td>
<Td borderBottom={0} minW="50px" pl={0} pr={0}>
Expand Down

0 comments on commit ccbe12d

Please sign in to comment.