mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
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 renderChart = useCallback(() => {
|
||||||
const { chart } = props;
|
const { chart, vizType } = props;
|
||||||
const newHeight =
|
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;
|
const chartWidth = chartPanelWidth - CHART_PANEL_PADDING_HORIZ;
|
||||||
return (
|
return (
|
||||||
chartWidth > 0 && (
|
chartWidth > 0 && (
|
||||||
|
Loading…
Reference in New Issue
Block a user