From 407bdd8c0df4591ebd1b193dd98f807109dcc087 Mon Sep 17 00:00:00 2001 From: saml33 <30796577+saml33@users.noreply.github.com> Date: Thu, 27 May 2021 23:44:25 +1000 Subject: [PATCH] increase dropdown box max-height (#19) --- components/Select.tsx | 2 +- components/Tooltip.tsx | 3 +++ components/WithdrawModal.tsx | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/components/Select.tsx b/components/Select.tsx index 32aad45..5ea1d01 100644 --- a/components/Select.tsx +++ b/components/Select.tsx @@ -36,7 +36,7 @@ const Select = ({ {open ? ( {children} diff --git a/components/Tooltip.tsx b/components/Tooltip.tsx index 4d8e448..3e66b7d 100644 --- a/components/Tooltip.tsx +++ b/components/Tooltip.tsx @@ -5,12 +5,14 @@ import 'tippy.js/animations/scale.css' type TooltipProps = { content: ReactNode className?: string + placement?: any } const Tooltip: FunctionComponent = ({ children, content, className, + placement, }) => { return ( = ({ {content} } + placement={placement} >
{children}
diff --git a/components/WithdrawModal.tsx b/components/WithdrawModal.tsx index bc14ab0..9320968 100644 --- a/components/WithdrawModal.tsx +++ b/components/WithdrawModal.tsx @@ -434,7 +434,11 @@ const WithdrawModal = ({ isOpen, onClose }) => { suffix={withdrawTokenSymbol} /> {simulation ? ( - +