Chore: Change filterTable nth-child to nth-of-type (#95331)

Chore: Change filterTable nth-child styles to fix console warning
This commit is contained in:
Josh Hunt 2024-10-24 15:27:25 +01:00 committed by GitHub
parent f5bd197cdb
commit 0b842eb48e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ export function getFilterTableStyles(theme: GrafanaTheme2) {
borderCollapse: 'separate',
tbody: {
'tr:nth-child(odd)': {
'tr:nth-of-type(odd)': {
background: theme.colors.emphasize(theme.colors.background.primary, 0.02),
},
},