mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Add filter_box full height (#14657)
This commit is contained in:
@@ -183,9 +183,11 @@ const ExploreChartPanel = props => {
|
||||
};
|
||||
|
||||
const renderChart = useCallback(() => {
|
||||
const { chart } = props;
|
||||
const { chart, vizType } = props;
|
||||
const newHeight =
|
||||
calcSectionHeight(splitSizes[0]) - CHART_PANEL_PADDING_VERTICAL;
|
||||
vizType === 'filter_box'
|
||||
? calcSectionHeight(100) - CHART_PANEL_PADDING_VERTICAL
|
||||
: calcSectionHeight(splitSizes[0]) - CHART_PANEL_PADDING_VERTICAL;
|
||||
const chartWidth = chartPanelWidth - CHART_PANEL_PADDING_HORIZ;
|
||||
return (
|
||||
chartWidth > 0 && (
|
||||
|
||||
Reference in New Issue
Block a user