Fixed tooltip width

pull/85/head
Vladimir Volek 6 years ago
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…
Cancel
Save