From 11b2f0ee4d3f2d22a0a93cbb0fe926a24933b0db Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 20 May 2021 16:03:23 -0700 Subject: [PATCH] Timeline: use full row height with one series (#34532) --- public/app/plugins/panel/state-timeline/TimelineChart.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/app/plugins/panel/state-timeline/TimelineChart.tsx b/public/app/plugins/panel/state-timeline/TimelineChart.tsx index 3fb00b81571..e78042e3748 100755 --- a/public/app/plugins/panel/state-timeline/TimelineChart.tsx +++ b/public/app/plugins/panel/state-timeline/TimelineChart.tsx @@ -42,6 +42,9 @@ export class TimelineChart extends React.Component { getTimeRange, eventBus, ...this.props, + + // When there is only one row, use the full space + rowHeight: alignedFrame.fields.length > 2 ? this.props.rowHeight : 1, }); };