From 6a6633ab86b4d70c240261712466b494b3c2a011 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Sat, 23 Dec 2017 14:57:37 +0100 Subject: [PATCH] Fix small singlestat value display This fix improves the rendering of singlestats in small boxes in grafana 5. This allows the user to get boxes oh height=1 and still see the value of the stat entirely. Signed-off-by: Julien Pivotto --- public/sass/components/_panel_singlestat.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/public/sass/components/_panel_singlestat.scss b/public/sass/components/_panel_singlestat.scss index 0510c46cd47..33a956a0244 100644 --- a/public/sass/components/_panel_singlestat.scss +++ b/public/sass/components/_panel_singlestat.scss @@ -6,6 +6,7 @@ } .singlestat-panel-value-container { + line-height: 1; display: table-cell; vertical-align: middle; text-align: center;