Tooltip: eliminate flickering when repaint can't keep up (#33609)

This commit is contained in:
Leon Sorokin
2021-05-02 13:03:50 -05:00
committed by GitHub
parent 3ed84ec0b5
commit e159985aa2

View File

@@ -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
export const getTooltipContainerStyles = (theme: GrafanaThemeV2) => `
pointer-events: none;
overflow: hidden;
background: ${theme.colors.background.secondary};
box-shadow: ${theme.shadows.z2};