Skip to content

Commit fe667e7

Browse files
Merge pull request #689 from tremes/ou-1123
OU-1123: alerts chart in Incidents - set the container height same as char…
2 parents 69eb16e + 86ffe84 commit fe667e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/components/Incidents/AlertsChart/AlertsChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const AlertsChart = ({ theme }: { theme: 'light' | 'dark' }) => {
7676
}, [alertsData]);
7777

7878
useEffect(() => {
79-
setChartContainerHeight(chartData?.length < 5 ? 300 : chartData?.length * 60);
79+
setChartContainerHeight(chartData?.length < 5 ? 300 : chartData?.length * 55);
8080
setChartHeight(chartData?.length < 5 ? 250 : chartData?.length * 55);
8181
}, [chartData]);
8282

0 commit comments

Comments
 (0)