Table Panel: Fix hover regression (#84964)

Fix hover bug
This commit is contained in:
Kyle Cunningham 2024-03-22 09:55:17 -05:00 committed by GitHub
parent 8d4ca72f2a
commit 658183d792
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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',