diff --git a/src/components/transactions/TxDetails/Summary/TxDataRow/index.tsx b/src/components/transactions/TxDetails/Summary/TxDataRow/index.tsx index ee6e125de8..bed1599da2 100644 --- a/src/components/transactions/TxDetails/Summary/TxDataRow/index.tsx +++ b/src/components/transactions/TxDetails/Summary/TxDataRow/index.tsx @@ -4,6 +4,7 @@ import { Typography } from '@mui/material' import { hexDataLength } from 'ethers/lib/utils' import type { ReactElement, ReactNode } from 'react' import css from './styles.module.css' +import valueCss from '@/components/transactions/TxDetails/TxData/DecodedData/Value/styles.module.css' import EthHashInfo from '@/components/common/EthHashInfo' type TxDataRowProps = { @@ -32,7 +33,7 @@ export const generateDataRowValue = ( case 'hash': case 'address': return ( -
+
) diff --git a/src/components/transactions/TxDetails/Summary/TxDataRow/styles.module.css b/src/components/transactions/TxDetails/Summary/TxDataRow/styles.module.css index 322c5065bb..91bad958c2 100644 --- a/src/components/transactions/TxDetails/Summary/TxDataRow/styles.module.css +++ b/src/components/transactions/TxDetails/Summary/TxDataRow/styles.module.css @@ -26,11 +26,6 @@ align-items: center; } -/* 2nd only exists if there is address book entry */ -.address > div > div > div:nth-child(2) { - margin-top: -4px; -} - @media (max-width: 599.95px) { .gridRow { grid-template-columns: 1fr; diff --git a/src/components/transactions/TxDetails/TxData/DecodedData/ValueArray/index.tsx b/src/components/transactions/TxDetails/TxData/DecodedData/ValueArray/index.tsx index 803d5b4496..156a9c145d 100644 --- a/src/components/transactions/TxDetails/TxData/DecodedData/ValueArray/index.tsx +++ b/src/components/transactions/TxDetails/TxData/DecodedData/ValueArray/index.tsx @@ -47,14 +47,9 @@ export const Value = ({ type, value, ...props }: ValueArrayProps): ReactElement return } return ( - +
+ +
) })}
diff --git a/src/components/transactions/TxDetails/TxData/DecodedData/ValueArray/styles.module.css b/src/components/transactions/TxDetails/TxData/DecodedData/ValueArray/styles.module.css index 5d0690d464..578dd4baeb 100644 --- a/src/components/transactions/TxDetails/TxData/DecodedData/ValueArray/styles.module.css +++ b/src/components/transactions/TxDetails/TxData/DecodedData/ValueArray/styles.module.css @@ -1,3 +1,8 @@ .nestedWrapper { padding-left: 12px; } + +/* Reduce space between name/address for clarity between rows */ +.address > div { + line-height: 1; +}