Update table styles

pull/198/head
artemkolodko 2 years ago
parent 43804409db
commit 7ef57df3c9
  1. 6
      src/components/block/BlockDetails.tsx
  2. 8
      src/components/block/BlockList.tsx
  3. 6
      src/components/transaction/TransactionDetails.tsx
  4. 1
      src/components/transaction/helpers.tsx

@ -100,12 +100,10 @@ export const BlockDetails: FunctionComponent<BlockDetailsProps> = ({
data={blockData} data={blockData}
step={10} step={10}
border={{ border={{
header: { header: false,
color: "none",
},
body: { body: {
color: "border", color: "border",
side: "top", side: "bottom",
size: "1px", size: "1px",
}, },
}} }}

@ -71,12 +71,10 @@ export const BlockList: FunctionComponent<BlockDetailsProps> = ({ block }) => {
data={blockData} data={blockData}
step={10} step={10}
border={{ border={{
header: { header: false,
color: 'none'
},
body: { body: {
color: 'border', color: 'border',
side: 'top', side: 'bottom',
size: '1px' size: '1px'
} }
}} }}
@ -91,4 +89,4 @@ export const BlockList: FunctionComponent<BlockDetailsProps> = ({ block }) => {
</Anchor> </Anchor>
</Box> </Box>
</> </>
} }

@ -188,12 +188,10 @@ export const TransactionDetails: FunctionComponent<TransactionDetailsProps> = ({
data={txData} data={txData}
step={10} step={10}
border={{ border={{
header: { header: false,
color: "none",
},
body: { body: {
color: "border", color: "border",
side: "top", side: "bottom",
size: "1px", size: "1px",
}, },
}} }}

@ -91,6 +91,7 @@ export const transactionPropertySort: Record<string, number> = {
}; };
export const transactionPropertyDescriptions: Record<string, string> = { export const transactionPropertyDescriptions: Record<string, string> = {
Status: "The status of the transaction",
shardID: "The shard number where the transaction belongs.", shardID: "The shard number where the transaction belongs.",
blockNumber: "The number of the block in which the transaction was recorded.", 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.", hash: "A TxHash or transaction hash is a unique 66 characters identifier that is generated whenever a transaction is executed.",

Loading…
Cancel
Save