Explorar o código

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.
Gregory Becker %!s(int64=11) %!d(string=hai) anos
pai
achega
06ec91c899
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/css/less/grafana.less

+ 3 - 0
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 {