Skip to content

Commit

Permalink
feat(apps/web): Improve responsive design for latest entries tables
Browse files Browse the repository at this point in the history
  • Loading branch information
nevendyulgerov committed Feb 3, 2025
1 parent 9edcfb1 commit d289b2f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion apps/web/src/components/applications/latestInputsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ const LatestInputsTable: FC<LatestInputsTableProps> = ({
}, []);

return (
<Table width="100%" miw={500} style={{ borderCollapse: "collapse" }}>
<Table
width="100%"
miw="max-content"
style={{ borderCollapse: "collapse" }}
>
<Table.Thead>
<Table.Tr>
<Table.Th>From</Table.Th>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/latestEntries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const LatestEntriesCard: FC<LatestEntriesCard> = (props) => {
</Text>
</Group>

<Group gap={5}>
<Group gap={5} style={{ overflowX: "auto" }}>
<LatestEntriesTable
entries={entries}
fetching={fetching}
Expand Down
6 changes: 5 additions & 1 deletion apps/web/src/components/latestEntriesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ const LatestEntriesTable: FC<LatestEntriesTableProps> = ({
}, []);

return (
<Table>
<Table
width="100%"
miw="max-content"
style={{ borderCollapse: "collapse" }}
>
<Table.Thead>
<Table.Tr>
<Table.Th>Address</Table.Th>
Expand Down

0 comments on commit d289b2f

Please sign in to comment.