Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Mar 31, 2022
1 parent 57205c8 commit 8357c95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -410,7 +406,7 @@ const DashboardBuilder: FC<DashboardBuilderProps> = () => {
image="dashboard.svg"
/>
)}
<DashboardContentWrapper
<div
data-test="dashboard-content"
className={cx('dashboard', editMode && 'dashboard--editing')}
>
Expand All @@ -432,7 +428,7 @@ const DashboardBuilder: FC<DashboardBuilderProps> = () => {
/>
)}
</StyledDashboardContent>
</DashboardContentWrapper>
</div>
</StyledContent>
</StyledDiv>
);
Expand Down
1 change: 1 addition & 0 deletions superset-frontend/src/dashboard/stylesheets/builder.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 8357c95

Please sign in to comment.