1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00

Fixed token tooltip

This commit is contained in:
Vladimir Volek 2018-09-27 12:37:08 +02:00
parent 8f819b0ce2
commit 9e2b5ddb1e

View File

@ -25,17 +25,16 @@ const AccountHeading = styled.div`
align-items: center; align-items: center;
`; `;
const TooltipContent = styled.div`
display: block;
`;
const H2Wrapper = styled.div` const H2Wrapper = styled.div`
display: flex; display: flex;
align-items: center; align-items: center;
padding: 20px 48px; padding: 20px 48px;
`; `;
const StyledTooltip = styled(Tooltip)`
position: relative;
top: 2px;
`;
const AccountName = styled.div` const AccountName = styled.div`
display: flex; display: flex;
align-items: center; align-items: center;
@ -102,20 +101,16 @@ const AccountSummary = (props: Props) => {
<H2Wrapper> <H2Wrapper>
<H2>Tokens</H2> <H2>Tokens</H2>
<StyledTooltip <Tooltip
placement="top" placement="top"
content={( content="Insert token name, symbol or address to be able to send it."
<React.Fragment>
Insert token name, symbol or address to be able to send it.
</React.Fragment>
)}
> >
<StyledIcon <StyledIcon
icon={ICONS.HELP} icon={ICONS.HELP}
color={colors.TEXT_SECONDARY} color={colors.TEXT_SECONDARY}
size={24} size={24}
/> />
</StyledTooltip> </Tooltip>
</H2Wrapper> </H2Wrapper>
{/* 0x58cda554935e4a1f2acbe15f8757400af275e084 Lahod */} {/* 0x58cda554935e4a1f2acbe15f8757400af275e084 Lahod */}
{/* 0x58cda554935e4a1f2acbe15f8757400af275e084 T01 */} {/* 0x58cda554935e4a1f2acbe15f8757400af275e084 T01 */}