mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 10:48:22 +00:00
fix tooltip position
This commit is contained in:
parent
bcd618aa0a
commit
025b685280
@ -53,7 +53,7 @@ const ShowAddressButton = styled(Button)`
|
|||||||
const EyeButton = styled(Button)`
|
const EyeButton = styled(Button)`
|
||||||
z-index: 10001;
|
z-index: 10001;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
top: 12px;
|
top: 10px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
|
||||||
@ -135,19 +135,19 @@ const AccountReceive = (props: Props) => {
|
|||||||
icon={
|
icon={
|
||||||
(addressVerified || addressUnverified) &&
|
(addressVerified || addressUnverified) &&
|
||||||
!isAddressVerifying && (
|
!isAddressVerifying && (
|
||||||
<Tooltip
|
<EyeButton
|
||||||
placement="left"
|
isTransparent
|
||||||
content={
|
onClick={() => props.showAddress(account.accountPath)}
|
||||||
<VerifyAddressTooltip
|
|
||||||
isConnected={device.connected}
|
|
||||||
isAvailable={device.available}
|
|
||||||
addressUnverified={addressUnverified}
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
>
|
>
|
||||||
<EyeButton
|
<Tooltip
|
||||||
isTransparent
|
placement="top"
|
||||||
onClick={() => props.showAddress(account.accountPath)}
|
content={
|
||||||
|
<VerifyAddressTooltip
|
||||||
|
isConnected={device.connected}
|
||||||
|
isAvailable={device.available}
|
||||||
|
addressUnverified={addressUnverified}
|
||||||
|
/>
|
||||||
|
}
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
size={16}
|
size={16}
|
||||||
@ -162,8 +162,8 @@ const AccountReceive = (props: Props) => {
|
|||||||
: colors.TEXT_PRIMARY
|
: colors.TEXT_PRIMARY
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</EyeButton>
|
</Tooltip>
|
||||||
</Tooltip>
|
</EyeButton>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user