Tooltip: Set tooltip of active panel to front of zIndex (with object syntax emotion CSS) (#71925)

This commit is contained in:
Sol
2023-07-19 11:37:13 +01:00
committed by GitHub
parent ccc38e760c
commit dbc0642009

View File

@@ -327,7 +327,7 @@ export function positionTooltip(u: uPlot, bbox: DOMRect) {
}
const getStyles = (theme: GrafanaTheme2) => ({
tooltipWrapper: css`
z-index: ${theme.zIndex.portal + 1} !important;
`,
tooltipWrapper: css({
'z-index': theme.zIndex.portal + 1 + ' !important',
}),
});