1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-12 17:10:56 +00:00

Merge pull request #511 from trezor/fix/tooltip-position

fix ripple tooltip position
This commit is contained in:
Maroš 2019-04-16 12:20:28 +02:00 committed by GitHub
commit 502ccf0a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ const ShowAddressButton = styled(Button)`
const EyeButton = styled(Button)`
z-index: 10001;
padding: 0;
top: 12px;
top: 10px;
position: absolute;
right: 10px;
@ -141,19 +141,20 @@ const AccountReceive = (props: Props) => {
icon={
(addressVerified || addressUnverified) &&
!isAddressVerifying && (
<Tooltip
placement="left"
content={
<VerifyAddressTooltip
isConnected={device.connected}
isAvailable={device.available}
addressUnverified={addressUnverified}
/>
}
<EyeButton
isTransparent
onClick={() => props.showAddress(account.accountPath)}
>
<EyeButton
isTransparent
onClick={() => props.showAddress(account.accountPath)}
{' '}
<Tooltip
placement="top"
content={
<VerifyAddressTooltip
isConnected={device.connected}
isAvailable={device.available}
addressUnverified={addressUnverified}
/>
}
>
<Icon
size={16}
@ -168,8 +169,8 @@ const AccountReceive = (props: Props) => {
: colors.TEXT_PRIMARY
}
/>
</EyeButton>
</Tooltip>
</Tooltip>
</EyeButton>
)
}
/>