1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 02:38:18 +00:00

fix tooltip position

This commit is contained in:
Vladimir Volek 2019-04-16 11:50:52 +02:00
parent bcd618aa0a
commit 025b685280

View File

@ -53,7 +53,7 @@ const ShowAddressButton = styled(Button)`
const EyeButton = styled(Button)`
z-index: 10001;
padding: 0;
top: 12px;
top: 10px;
position: absolute;
right: 10px;
@ -135,19 +135,19 @@ 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}
@ -162,8 +162,8 @@ const AccountReceive = (props: Props) => {
: colors.TEXT_PRIMARY
}
/>
</EyeButton>
</Tooltip>
</Tooltip>
</EyeButton>
)
}
/>