From 8083079eeaa0e0cd6faeafeadca077849d095c94 Mon Sep 17 00:00:00 2001 From: Vladimir Kolobaev Date: Fri, 10 Feb 2017 13:11:39 +0400 Subject: [PATCH] graph: set max width for legend tables. ref #2385 --- public/sass/components/_panel_graph.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/public/sass/components/_panel_graph.scss b/public/sass/components/_panel_graph.scss index 7b44c29f8fa..179049ea220 100644 --- a/public/sass/components/_panel_graph.scss +++ b/public/sass/components/_panel_graph.scss @@ -133,6 +133,9 @@ padding-left: 7px; text-align: left; width: 95%; + max-width: 650px; + text-overflow: ellipsis; + overflow: hidden; } .graph-legend-series:nth-child(odd) { @@ -264,7 +267,10 @@ .graph-tooltip-series-name { display: table-cell; padding: 0.15rem; - } + max-width: 650px; + text-overflow: ellipsis; + overflow: hidden; + } .graph-tooltip-value { display: table-cell;