1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-28 01:48:10 +00:00

remove margin around coin logo in the Summary tab

This commit is contained in:
slowbackspace 2019-01-24 23:37:14 +01:00
parent c6edc8a4af
commit 4f30014050
2 changed files with 3 additions and 11 deletions

View File

@ -50,10 +50,6 @@ const AccountTitle = styled.div`
color: ${colors.WALLET_TITLE};
`;
const StyledCoinLogo = styled(CoinLogo)`
margin-right: 10px;
`;
const StyledIcon = styled(Icon)`
position: relative;
top: -7px;
@ -93,7 +89,7 @@ const AccountSummary = (props: Props) => {
<React.Fragment>
<AccountHeading>
<AccountName>
<StyledCoinLogo network={account.network} />
<CoinLogo network={account.network} />
<AccountTitle>Account #{parseInt(account.index, 10) + 1}</AccountTitle>
</AccountName>
<Link href={explorerLink} isGray>See full transaction history</Link>
@ -123,7 +119,7 @@ const AccountSummary = (props: Props) => {
defaultOptions
value={null}
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...'}
noOptionsMessage={() => 'Token not found'}
onChange={(token) => {

View File

@ -47,10 +47,6 @@ const AccountTitle = styled.div`
color: ${colors.WALLET_TITLE};
`;
const StyledCoinLogo = styled(CoinLogo)`
margin-right: 10px;
`;
const StyledIcon = styled(Icon)`
position: relative;
top: -7px;
@ -86,7 +82,7 @@ const AccountSummary = (props: Props) => {
<React.Fragment>
<AccountHeading>
<AccountName>
<StyledCoinLogo network={account.network} />
<CoinLogo network={account.network} />
<AccountTitle>Account #{parseInt(account.index, 10) + 1}</AccountTitle>
</AccountName>
{ !account.empty && <Link href={explorerLink} isGray>See full transaction history</Link> }