mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-28 18:08:08 +00:00
remove margin around coin logo in the Summary tab
This commit is contained in:
parent
c6edc8a4af
commit
4f30014050
@ -50,10 +50,6 @@ const AccountTitle = styled.div`
|
|||||||
color: ${colors.WALLET_TITLE};
|
color: ${colors.WALLET_TITLE};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledCoinLogo = styled(CoinLogo)`
|
|
||||||
margin-right: 10px;
|
|
||||||
`;
|
|
||||||
|
|
||||||
const StyledIcon = styled(Icon)`
|
const StyledIcon = styled(Icon)`
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -7px;
|
top: -7px;
|
||||||
@ -93,7 +89,7 @@ const AccountSummary = (props: Props) => {
|
|||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<AccountHeading>
|
<AccountHeading>
|
||||||
<AccountName>
|
<AccountName>
|
||||||
<StyledCoinLogo network={account.network} />
|
<CoinLogo network={account.network} />
|
||||||
<AccountTitle>Account #{parseInt(account.index, 10) + 1}</AccountTitle>
|
<AccountTitle>Account #{parseInt(account.index, 10) + 1}</AccountTitle>
|
||||||
</AccountName>
|
</AccountName>
|
||||||
<Link href={explorerLink} isGray>See full transaction history</Link>
|
<Link href={explorerLink} isGray>See full transaction history</Link>
|
||||||
@ -123,7 +119,7 @@ const AccountSummary = (props: Props) => {
|
|||||||
defaultOptions
|
defaultOptions
|
||||||
value={null}
|
value={null}
|
||||||
isMulti={false}
|
isMulti={false}
|
||||||
placeholder="Type in a token name or paste a token address directly"
|
placeholder="Type in a token name or a token address"
|
||||||
loadingMessage={() => 'Loading...'}
|
loadingMessage={() => 'Loading...'}
|
||||||
noOptionsMessage={() => 'Token not found'}
|
noOptionsMessage={() => 'Token not found'}
|
||||||
onChange={(token) => {
|
onChange={(token) => {
|
||||||
|
@ -47,10 +47,6 @@ const AccountTitle = styled.div`
|
|||||||
color: ${colors.WALLET_TITLE};
|
color: ${colors.WALLET_TITLE};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledCoinLogo = styled(CoinLogo)`
|
|
||||||
margin-right: 10px;
|
|
||||||
`;
|
|
||||||
|
|
||||||
const StyledIcon = styled(Icon)`
|
const StyledIcon = styled(Icon)`
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -7px;
|
top: -7px;
|
||||||
@ -86,7 +82,7 @@ const AccountSummary = (props: Props) => {
|
|||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<AccountHeading>
|
<AccountHeading>
|
||||||
<AccountName>
|
<AccountName>
|
||||||
<StyledCoinLogo network={account.network} />
|
<CoinLogo network={account.network} />
|
||||||
<AccountTitle>Account #{parseInt(account.index, 10) + 1}</AccountTitle>
|
<AccountTitle>Account #{parseInt(account.index, 10) + 1}</AccountTitle>
|
||||||
</AccountName>
|
</AccountName>
|
||||||
{ !account.empty && <Link href={explorerLink} isGray>See full transaction history</Link> }
|
{ !account.empty && <Link href={explorerLink} isGray>See full transaction history</Link> }
|
||||||
|
Loading…
Reference in New Issue
Block a user