mirror of https://github.com/apache/superset.git
Add filter_box full height (#14657)
This commit is contained in:
parent
c2bd684454
commit
a0881fb157
|
@ -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 && (
|
||||
|
|
Loading…
Reference in New Issue