From c748e4562ccb674d177a1a244456d5001556d682 Mon Sep 17 00:00:00 2001 From: Usame Algan Date: Tue, 29 Aug 2023 14:37:03 +0200 Subject: [PATCH] revert: Changes to the tx history --- src/components/transactions/TxInfo/index.tsx | 2 +- src/components/transactions/TxSummary/styles.module.css | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/transactions/TxInfo/index.tsx b/src/components/transactions/TxInfo/index.tsx index ec3e54329a..eb2be5d6dc 100644 --- a/src/components/transactions/TxInfo/index.tsx +++ b/src/components/transactions/TxInfo/index.tsx @@ -71,7 +71,7 @@ export const TransferTx = ({ } const CustomTx = ({ info }: { info: Custom }): ReactElement => { - return <>{!info.humanDescription && info.methodName} + return <>{info.methodName} } const CreationTx = ({ info }: { info: Creation }): ReactElement => { diff --git a/src/components/transactions/TxSummary/styles.module.css b/src/components/transactions/TxSummary/styles.module.css index 096afad257..044a9ea0e5 100644 --- a/src/components/transactions/TxSummary/styles.module.css +++ b/src/components/transactions/TxSummary/styles.module.css @@ -23,7 +23,10 @@ } .columnTemplateTxHistory { - grid-template-columns: minmax(50px, 0.25fr) 5fr 2.5fr 1fr 1.5fr; + grid-template-columns: minmax(50px, 0.25fr) minmax(150px, 2fr) minmax(150px, 2fr) minmax(100px, 1fr) minmax( + 170px, + 1fr + ); grid-template-areas: 'nonce type info date status'; }