mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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.
This commit is contained in:
parent
10f9022d7c
commit
06ec91c899
@ -435,6 +435,9 @@ select.grafana-target-segment-input {
|
|||||||
background-color: rgb(58, 57, 57);
|
background-color: rgb(58, 57, 57);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
|
max-width: 800px;
|
||||||
|
max-height: 600px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip.in {
|
.tooltip.in {
|
||||||
|
Loading…
Reference in New Issue
Block a user