1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-08 07:01:04 +00:00

fix hidebalance icons

This commit is contained in:
slowbackspace 2019-03-21 13:49:30 +01:00
parent f046e21e75
commit aad0867020
4 changed files with 6 additions and 5 deletions

View File

@ -108,7 +108,7 @@ class MenuItems extends PureComponent {
</Item> </Item>
<Divider /> <Divider />
<Item> <Item>
<Icon icon={icons.EYE_CROSSED} size={25} color={colors.TEXT_SECONDARY} /> <Icon icon={icons.EYE_CROSSED} size={14} color={colors.TEXT_SECONDARY} />
<Label> <Label>
<FormattedMessage {...l10nCommonMessages.TR_HIDE_BALANCE} /> <FormattedMessage {...l10nCommonMessages.TR_HIDE_BALANCE} />
</Label> </Label>

View File

@ -99,7 +99,7 @@ class AddedToken extends PureComponent {
> >
<TooltipIcon <TooltipIcon
icon={ICONS.EYE_CROSSED} icon={ICONS.EYE_CROSSED}
size={25} size={14}
color={colors.TEXT_SECONDARY} color={colors.TEXT_SECONDARY}
/> />
</Tooltip> </Tooltip>
@ -111,7 +111,7 @@ class AddedToken extends PureComponent {
isTransparent isTransparent
onClick={() => this.props.removeToken(this.props.token)} onClick={() => this.props.removeToken(this.props.token)}
> >
<Icon icon={ICONS.CLOSE} size={23} /> <Icon icon={ICONS.CLOSE} size={14} />
</RemoveTokenButton> </RemoveTokenButton>
</TokenWrapper> </TokenWrapper>
); );

View File

@ -104,7 +104,7 @@ const AccountSummary = (props: Props) => {
placement="top" placement="top"
content={props.intl.formatMessage(l10nSummaryMessages.TR_INSERT_TOKEN_NAME)} content={props.intl.formatMessage(l10nSummaryMessages.TR_INSERT_TOKEN_NAME)}
> >
<StyledIcon icon={ICONS.HELP} color={colors.TEXT_SECONDARY} size={14} /> <StyledIcon icon={ICONS.HELP} color={colors.TEXT_SECONDARY} size={12} />
</Tooltip> </Tooltip>
</TokensHeadingWrapper> </TokensHeadingWrapper>
<AsyncSelectWrapper> <AsyncSelectWrapper>

View File

@ -67,6 +67,7 @@ const Info = styled.div`
`; `;
const TooltipIcon = styled(Icon)` const TooltipIcon = styled(Icon)`
margin-left: 6px;
cursor: pointer; cursor: pointer;
`; `;
@ -97,7 +98,7 @@ const WalletSettings = (props: Props) => (
maxWidth={210} maxWidth={210}
placement="right" placement="right"
> >
<TooltipIcon icon={ICONS.HELP} color={colors.TEXT_SECONDARY} size={24} /> <TooltipIcon icon={ICONS.HELP} color={colors.TEXT_SECONDARY} size={12} />
</Tooltip> </Tooltip>
</Label> </Label>
<Switch <Switch