mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-24 20:15:49 +00:00
Fixed tooltip width
This commit is contained in:
parent
6bd2cd6471
commit
a54e3a3623
@ -6,10 +6,10 @@ import PropTypes from 'prop-types';
|
||||
|
||||
const Wrapper = styled.div`
|
||||
.rc-tooltip {
|
||||
min-width: 200px;
|
||||
max-width: ${props => `${props.maxWidth}px` || 'auto'};
|
||||
position: absolute;
|
||||
z-index: 1070;
|
||||
display: block;
|
||||
visibility: visible;
|
||||
border: 1px solid ${colors.DIVIDER};
|
||||
border-radius: 3px;
|
||||
|
@ -108,12 +108,9 @@ const AccountSummary = (props: Props) => {
|
||||
<H2Wrapper>
|
||||
<H2>Tokens</H2>
|
||||
<StyledTooltip
|
||||
maxWidth={200}
|
||||
placement="top"
|
||||
content={(
|
||||
<React.Fragment>
|
||||
Insert token name, symbol or address to be able to send it.
|
||||
</React.Fragment>
|
||||
)}
|
||||
content="Insert token name, symbol or address to be able to send it."
|
||||
>
|
||||
<StyledIcon
|
||||
icon={ICONS.HELP}
|
||||
|
Loading…
Reference in New Issue
Block a user