fix ripple tooltip position

pull/511/head
Vladimir Volek 5 years ago
parent 025b685280
commit 913e8bf7f3

@ -59,7 +59,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;
@ -141,19 +141,20 @@ 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 {' '}
isTransparent <Tooltip
onClick={() => props.showAddress(account.accountPath)} placement="top"
content={
<VerifyAddressTooltip
isConnected={device.connected}
isAvailable={device.available}
addressUnverified={addressUnverified}
/>
}
> >
<Icon <Icon
size={16} size={16}
@ -168,8 +169,8 @@ const AccountReceive = (props: Props) => {
: colors.TEXT_PRIMARY : colors.TEXT_PRIMARY
} }
/> />
</EyeButton> </Tooltip>
</Tooltip> </EyeButton>
) )
} }
/> />

Loading…
Cancel
Save