From 54bbe421bc82b5650aca1e7c713e1461b7b44422 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Tue, 1 Mar 2022 14:18:49 -0800 Subject: [PATCH] make tab content scrollable --- apps/trading/pages/markets/[marketId].page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/trading/pages/markets/[marketId].page.tsx b/apps/trading/pages/markets/[marketId].page.tsx index 6d1c13e37..e502f4c5c 100644 --- a/apps/trading/pages/markets/[marketId].page.tsx +++ b/apps/trading/pages/markets/[marketId].page.tsx @@ -122,7 +122,7 @@ const GridTabs = ({ children, group }: GridTabsProps) => { })} {/* the content */} -
+
{Children.map(children, (child) => { if (isValidElement(child) && query[group] === child.props.name) { return
{child.props.children}
;