Theme: Fix for Graph tooltip background (#33601)

This commit is contained in:
Torkel Ödegaard
2021-05-02 17:45:24 +02:00
committed by GitHub
parent cbf30aac82
commit 1db26f8907
+2 -1
View File
@@ -65,7 +65,8 @@ 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) => `
overflow: hidden;
background: ${theme.components.tooltip.background};
background: ${theme.colors.background.secondary};
box-shadow: ${theme.shadows.z2};
max-width: 800px;
padding: ${theme.spacing(1)};
border-radius: ${theme.shape.borderRadius()};