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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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};