From aac02a6fa657ab3031ece44e61fe8087d3ce35d1 Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Thu, 27 Jan 2022 09:49:45 +0100 Subject: [PATCH] fix: Scrolling bug in browsing dataset page Styling for making panel content take all the space should only be done for the configurator panel --- app/configurator/components/configurator.tsx | 9 ++++++++- app/configurator/components/layout.tsx | 4 ---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/configurator/components/configurator.tsx b/app/configurator/components/configurator.tsx index ceff7bf70..2f89477b7 100644 --- a/app/configurator/components/configurator.tsx +++ b/app/configurator/components/configurator.tsx @@ -82,7 +82,14 @@ const ConfigureChartStep = () => { } return ( <> - + {state.chartConfig.chartType === "table" ? ( ) : ( diff --git a/app/configurator/components/layout.tsx b/app/configurator/components/layout.tsx index 272e4f123..83799f91e 100644 --- a/app/configurator/components/layout.tsx +++ b/app/configurator/components/layout.tsx @@ -25,10 +25,6 @@ export const PanelLeftWrapper = ({ borderRightWidth: raised ? "1px" : undefined, borderRightStyle: raised ? "solid" : undefined, gridArea: "left", - flexGrow: 1, - display: "flex", - height: "100%", - flexDirection: "column", ...sx, }} >