From 658183d7926a0dc2c40861b1b9cbd9fa736c02c6 Mon Sep 17 00:00:00 2001 From: Kyle Cunningham Date: Fri, 22 Mar 2024 09:55:17 -0500 Subject: [PATCH] Table Panel: Fix hover regression (#84964) Fix hover bug --- packages/grafana-ui/src/components/Table/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Table/styles.ts b/packages/grafana-ui/src/components/Table/styles.ts index 0385f11d9d3..e4f7e20f0c6 100644 --- a/packages/grafana-ui/src/components/Table/styles.ts +++ b/packages/grafana-ui/src/components/Table/styles.ts @@ -56,7 +56,7 @@ export function useTableStyles(theme: GrafanaTheme2, cellHeightOption: TableCell wordBreak: textShouldWrap ? 'break-word' : undefined, whiteSpace: textShouldWrap && overflowOnHover ? 'normal' : 'nowrap', boxShadow: overflowOnHover ? `0 0 2px ${theme.colors.primary.main}` : undefined, - background: rowStyled ? 'inherit' : background ?? undefined, + background: rowStyled ? 'inherit' : background ?? theme.colors.background.primary, zIndex: 1, '.cellActions': { color: '#FFF',