From 641b82c2a3379af513949d6da66e92228c7313ae Mon Sep 17 00:00:00 2001 From: James Mealy Date: Wed, 29 May 2024 12:25:41 +0100 Subject: [PATCH] fix: column widths on mobile --- .../transactions/BulkTxListGroup/index.tsx | 14 +++++++------- .../transactions/BulkTxListGroup/styles.module.css | 10 ---------- src/components/transactions/TxSummary/index.tsx | 11 +++++------ 3 files changed, 12 insertions(+), 23 deletions(-) diff --git a/src/components/transactions/BulkTxListGroup/index.tsx b/src/components/transactions/BulkTxListGroup/index.tsx index df02b638d7..10c67873e6 100644 --- a/src/components/transactions/BulkTxListGroup/index.tsx +++ b/src/components/transactions/BulkTxListGroup/index.tsx @@ -18,15 +18,15 @@ const GroupedTxListItems = ({ return ( - - + + - - Transactions executed in bulk + + Transactions executed in bulk - + {generateDataRowValue(transactionHash, 'hash', true)} @@ -37,11 +37,11 @@ const GroupedTxListItems = ({ : '' return ( - + {nonce} - + diff --git a/src/components/transactions/BulkTxListGroup/styles.module.css b/src/components/transactions/BulkTxListGroup/styles.module.css index a550537703..3cbdb37ecb 100644 --- a/src/components/transactions/BulkTxListGroup/styles.module.css +++ b/src/components/transactions/BulkTxListGroup/styles.module.css @@ -22,13 +22,3 @@ border-radius: var(--space-1); flex: 1; } - -/* @media (max-width: 1024px) { - .container { - gap: var(--space-1); - grid-template-columns: 1fr; - grid-template-areas: - 'nonce warning warning' - 'items items items'; - } -} */ diff --git a/src/components/transactions/TxSummary/index.tsx b/src/components/transactions/TxSummary/index.tsx index 6fb08c375f..cd7f075b99 100644 --- a/src/components/transactions/TxSummary/index.tsx +++ b/src/components/transactions/TxSummary/index.tsx @@ -47,12 +47,11 @@ const TxSummary = ({ item, isGrouped, isBulkGroup }: TxSummaryProps): ReactEleme })} id={tx.id} > - {(nonce !== undefined && !isGrouped) || - (!isBulkGroup && ( - - {nonce} - - ))} + {nonce !== undefined && !isGrouped && !isBulkGroup && ( + + {nonce} + + )} {!isTrusted && (