From 7ef57df3c966523e8eb7cf53092e32497ee5f765 Mon Sep 17 00:00:00 2001 From: artemkolodko Date: Thu, 30 Jun 2022 20:50:14 +0100 Subject: [PATCH] Update table styles --- src/components/block/BlockDetails.tsx | 6 ++---- src/components/block/BlockList.tsx | 8 +++----- src/components/transaction/TransactionDetails.tsx | 6 ++---- src/components/transaction/helpers.tsx | 1 + 4 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/components/block/BlockDetails.tsx b/src/components/block/BlockDetails.tsx index e64ce09..f3a2d5f 100644 --- a/src/components/block/BlockDetails.tsx +++ b/src/components/block/BlockDetails.tsx @@ -100,12 +100,10 @@ export const BlockDetails: FunctionComponent = ({ data={blockData} step={10} border={{ - header: { - color: "none", - }, + header: false, body: { color: "border", - side: "top", + side: "bottom", size: "1px", }, }} diff --git a/src/components/block/BlockList.tsx b/src/components/block/BlockList.tsx index 7008e31..196f89f 100644 --- a/src/components/block/BlockList.tsx +++ b/src/components/block/BlockList.tsx @@ -71,12 +71,10 @@ export const BlockList: FunctionComponent = ({ block }) => { data={blockData} step={10} border={{ - header: { - color: 'none' - }, + header: false, body: { color: 'border', - side: 'top', + side: 'bottom', size: '1px' } }} @@ -91,4 +89,4 @@ export const BlockList: FunctionComponent = ({ block }) => { -} \ No newline at end of file +} diff --git a/src/components/transaction/TransactionDetails.tsx b/src/components/transaction/TransactionDetails.tsx index faa03e3..aa50b24 100644 --- a/src/components/transaction/TransactionDetails.tsx +++ b/src/components/transaction/TransactionDetails.tsx @@ -188,12 +188,10 @@ export const TransactionDetails: FunctionComponent = ({ data={txData} step={10} border={{ - header: { - color: "none", - }, + header: false, body: { color: "border", - side: "top", + side: "bottom", size: "1px", }, }} diff --git a/src/components/transaction/helpers.tsx b/src/components/transaction/helpers.tsx index b2765c1..a37fd56 100644 --- a/src/components/transaction/helpers.tsx +++ b/src/components/transaction/helpers.tsx @@ -91,6 +91,7 @@ export const transactionPropertySort: Record = { }; export const transactionPropertyDescriptions: Record = { + Status: "The status of the transaction", shardID: "The shard number where the transaction belongs.", blockNumber: "The number of the block in which the transaction was recorded.", hash: "A TxHash or transaction hash is a unique 66 characters identifier that is generated whenever a transaction is executed.",