diff --git a/src/components/Tokens/TokenDetails/InfoTip.tsx b/src/components/Tokens/TokenDetails/InfoTip.tsx index 5a2e513a4d..b5882b826f 100644 --- a/src/components/Tokens/TokenDetails/InfoTip.tsx +++ b/src/components/Tokens/TokenDetails/InfoTip.tsx @@ -17,18 +17,24 @@ const InfoTipBody = styled.div` line-height: 16px; ` +const InfoTipWrapper = styled.div` + margin-left: 4px; + display: flex; + align-items: center; +` + export default function InfoTip({ text }: { text: ReactNode; size?: number }) { const [show, setShow] = useState(false) const open = useCallback(() => setShow(true), [setShow]) const close = useCallback(() => setShow(false), [setShow]) return ( - + {text}} show={show} placement="right"> - + ) }