Table: Use higher contrast color for Tooltip from Field chip (#110966)

This commit is contained in:
Paul Marbach
2025-09-11 15:42:28 -04:00
committed by GitHub
parent 113d61c027
commit ec0fa444b4
@@ -228,10 +228,7 @@ export const getTooltipStyles = (theme: GrafanaTheme2, textAlign: TextAlign) =>
[textAlign === 'right' ? 'right' : 'left']: theme.spacing(0.25),
width: theme.spacing(1.75),
height: theme.spacing(1.75),
background: caretTriangle(textAlign === 'right' ? 'right' : 'left', theme.colors.border.medium),
'&:hover, &[aria-pressed=true]': {
background: caretTriangle(textAlign === 'right' ? 'right' : 'left', theme.colors.border.strong),
},
background: caretTriangle(textAlign === 'right' ? 'right' : 'left', theme.colors.border.strong),
}),
});