mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Tooltip: eliminate flickering when repaint can't keep up (#33609)
This commit is contained in:
parent
3ed84ec0b5
commit
e159985aa2
@ -64,6 +64,7 @@ export function getFocusStyles(theme: GrafanaThemeV2): CSSObject {
|
|||||||
|
|
||||||
// max-width is set up based on .grafana-tooltip class that's used in dashboard
|
// max-width is set up based on .grafana-tooltip class that's used in dashboard
|
||||||
export const getTooltipContainerStyles = (theme: GrafanaThemeV2) => `
|
export const getTooltipContainerStyles = (theme: GrafanaThemeV2) => `
|
||||||
|
pointer-events: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: ${theme.colors.background.secondary};
|
background: ${theme.colors.background.secondary};
|
||||||
box-shadow: ${theme.shadows.z2};
|
box-shadow: ${theme.shadows.z2};
|
||||||
|
Loading…
Reference in New Issue
Block a user