From 06ec91c899ed69bf32a8b628c86c353151c8497c Mon Sep 17 00:00:00 2001 From: Gregory Becker Date: Fri, 19 Sep 2014 14:16:53 +0100 Subject: [PATCH] Give maximum width & height constraint to tooltip boxes Extreme values that go beyond the screen resolution are very likely to be misplaced. This is a simple workaround. A better solution would be to improve the code placing the tooltip and make it handle tooltips containing more content than they can safely display. --- src/css/less/grafana.less | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/css/less/grafana.less b/src/css/less/grafana.less index 8d52f749ff5..b291b548219 100644 --- a/src/css/less/grafana.less +++ b/src/css/less/grafana.less @@ -435,6 +435,9 @@ select.grafana-target-segment-input { background-color: rgb(58, 57, 57); border-radius: 5px; z-index: 9999; + max-width: 800px; + max-height: 600px; + overflow: hidden; } .tooltip.in {