From e4b3f31f8275839bd6a69cdb51b2bc06e2138a95 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Wed, 24 Oct 2018 17:38:10 +0300 Subject: [PATCH] graph legend: fix table alignment --- public/app/plugins/panel/graph/Legend/Legend.tsx | 7 ++++++- public/sass/components/_panel_graph.scss | 7 +++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/public/app/plugins/panel/graph/Legend/Legend.tsx b/public/app/plugins/panel/graph/Legend/Legend.tsx index c366004cd9f..7af61fde4e9 100644 --- a/public/app/plugins/panel/graph/Legend/Legend.tsx +++ b/public/app/plugins/panel/graph/Legend/Legend.tsx @@ -250,7 +250,10 @@ class LegendTable extends PureComponent> { const seriesValuesProps = { values, min, max, avg, current, total }; return ( - + + + + + + {seriesList.map((series, i) => (
{LEGEND_STATS.map( @@ -266,6 +269,8 @@ class LegendTable extends PureComponent> { ) )}