From 6e6cf5ab15dfbebfb7aac4ba2a40cb014fce536b Mon Sep 17 00:00:00 2001 From: Shahzad Date: Fri, 20 Nov 2020 13:09:28 +0100 Subject: [PATCH] [Uptime]Reduce chart height on monitor detail page (#83777) * reduce chart height * update --- .../uptime/public/components/common/charts/duration_chart.tsx | 3 ++- .../uptime/public/components/monitor/monitor_charts.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/uptime/public/components/common/charts/duration_chart.tsx b/x-pack/plugins/uptime/public/components/common/charts/duration_chart.tsx index 35335f9868978..5195eef6e9a3b 100644 --- a/x-pack/plugins/uptime/public/components/common/charts/duration_chart.tsx +++ b/x-pack/plugins/uptime/public/components/common/charts/duration_chart.tsx @@ -27,6 +27,7 @@ import { ChartEmptyState } from './chart_empty_state'; import { DurationAnomaliesBar } from './duration_line_bar_list'; import { AnomalyRecords } from '../../../state/actions'; import { UptimeThemeContext } from '../../../contexts'; +import { MONITOR_CHART_HEIGHT } from '../../monitor'; interface DurationChartProps { /** @@ -86,7 +87,7 @@ export const DurationChartComponent = ({ }; return ( - + {hasLines ? ( { return ( @@ -20,7 +21,7 @@ export const MonitorCharts = ({ monitorId }: MonitorChartsProps) => { - + );