Skip to content

Commit

Permalink
Revert "fix: Report screenshot cut off on left and right sides (apach…
Browse files Browse the repository at this point in the history
…e#22614)"

This reverts commit 0807875.
  • Loading branch information
AnushaErrabelli committed Jan 30, 2023
1 parent 5e6d2a9 commit 8e4748a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,19 +455,17 @@ const DashboardBuilder: FC<DashboardBuilderProps> = () => {
>
<StickyPanel ref={containerRef} width={filterBarWidth}>
<ErrorBoundary>
{!isReport && (
<FilterBar
focusedFilterId={focusedFilterId}
orientation={FilterBarOrientation.VERTICAL}
verticalConfig={{
filtersOpen: dashboardFiltersOpen,
toggleFiltersBar: toggleDashboardFiltersOpen,
width: filterBarWidth,
height: filterBarHeight,
offset: filterBarOffset,
}}
/>
)}
<FilterBar
focusedFilterId={focusedFilterId}
orientation={FilterBarOrientation.VERTICAL}
verticalConfig={{
filtersOpen: dashboardFiltersOpen,
toggleFiltersBar: toggleDashboardFiltersOpen,
width: filterBarWidth,
height: filterBarHeight,
offset: filterBarOffset,
}}
/>
</ErrorBoundary>
</StickyPanel>
</FiltersPanel>
Expand Down
2 changes: 1 addition & 1 deletion superset/utils/screenshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def __init__(

class DashboardScreenshot(BaseScreenshot):
thumbnail_type: str = "dashboard"
element: str = "standalone"
element: str = "grid-container"

def __init__(
self,
Expand Down

0 comments on commit 8e4748a

Please sign in to comment.