mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 10:48:22 +00:00
center tooltip
This commit is contained in:
parent
08b30b5daa
commit
56d2b8a0f7
@ -92,11 +92,14 @@ const Label = styled.div`
|
||||
|
||||
const StyledIcon = styled(Icon)`
|
||||
cursor: pointer;
|
||||
margin-left: 6px;
|
||||
align-items: center;
|
||||
margin-top: -5px;
|
||||
`;
|
||||
|
||||
const TooltipContainer = styled.div`
|
||||
margin-left: 6px;
|
||||
`;
|
||||
|
||||
const TooltipWrapper = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -138,6 +141,7 @@ class AccountBalance extends PureComponent<Props, State> {
|
||||
}
|
||||
|
||||
const NoRatesTooltip = (
|
||||
<TooltipContainer>
|
||||
<Tooltip
|
||||
maxWidth={285}
|
||||
placement="top"
|
||||
@ -145,6 +149,7 @@ class AccountBalance extends PureComponent<Props, State> {
|
||||
>
|
||||
<StyledIcon icon={ICONS.HELP} color={colors.TEXT_SECONDARY} size={12} />
|
||||
</Tooltip>
|
||||
</TooltipContainer>
|
||||
);
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user