From 8357c95b6a6201088808c0c8d7b0d4fdd78467d0 Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Thu, 31 Mar 2022 11:15:27 +0200 Subject: [PATCH] Fix test --- .../components/DashboardBuilder/DashboardBuilder.tsx | 8 ++------ superset-frontend/src/dashboard/stylesheets/builder.less | 1 + 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx index a19059e9c43e..ab1e95b9a1b4 100644 --- a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx +++ b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx @@ -151,10 +151,6 @@ const StyledContent = styled.div<{ ${({ fullSizeChartId }) => fullSizeChartId && `z-index: 101;`} `; -const DashboardContentWrapper = styled.div` - height: 100%; -`; - const StyledDashboardContent = styled.div<{ dashboardFiltersOpen: boolean; editMode: boolean; @@ -410,7 +406,7 @@ const DashboardBuilder: FC = () => { image="dashboard.svg" /> )} - @@ -432,7 +428,7 @@ const DashboardBuilder: FC = () => { /> )} - + ); diff --git a/superset-frontend/src/dashboard/stylesheets/builder.less b/superset-frontend/src/dashboard/stylesheets/builder.less index 1512e4c6fa08..422d455622a4 100644 --- a/superset-frontend/src/dashboard/stylesheets/builder.less +++ b/superset-frontend/src/dashboard/stylesheets/builder.less @@ -22,6 +22,7 @@ flex-grow: 1; display: flex; flex-direction: column; + height: 100%; } /* only top-level tabs have popover, give it more padding to match header + tabs */