Skip to content

Commit

Permalink
feature(web): add fixed columns width to table transactions view (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
xFJA committed Aug 1, 2024
1 parent 9a764ad commit 309e83d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion apps/web/src/pages/txs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,39 @@ export const TRANSACTIONS_TABLE_HEADERS = [
cells: [
{
item: "Hash",
className: "w-[150px]",
},
{
item: "Block number",
className: "w-[127px]",
},
{
item: "Timestamp",
className: "w-[160px]",
},
{
item: "From",
className: "w-[150px]",
},
{
item: "To",
className: "w-[148px]",
},
{
item: "Rollup",
className: "w-[72px]",
},
{
item: "Blob Base Fee",
className: "w-[172px]",
},
{
item: "Blob Max Fee",
className: "w-[162px]",
},
{
item: "Blob Gas Price",
className: "w-[180px]",
},
],
},
Expand Down Expand Up @@ -261,7 +270,7 @@ const Txs: NextPage = function () {
isLoading={isLoading}
headers={TRANSACTIONS_TABLE_HEADERS}
rows={transactionRows}
totalItems={totalTransactions || 0}
totalItems={totalTransactions}
paginationData={{ pageSize: ps, page: p }}
isExpandable
/>
Expand Down

0 comments on commit 309e83d

Please sign in to comment.