From 7367fe9db0272ed0a9b7a92b7ef8f96c2bb0e389 Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Fri, 29 Nov 2024 18:04:12 +0100 Subject: [PATCH] bug: wrong interaction style definition --- src/styles/muiTheme.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/styles/muiTheme.ts b/src/styles/muiTheme.ts index dcc9786ed..692349acb 100644 --- a/src/styles/muiTheme.ts +++ b/src/styles/muiTheme.ts @@ -429,10 +429,10 @@ export const theme = createTheme({ overflow: 'inherit', minHeight: 'auto', padding: '0', - '&::hover': { + '&:hover': { backgroundColor: palette.grey[100], }, - '&::active': { + '&:active': { backgroundColor: palette.grey[200], }, '&.Mui-expanded': { @@ -450,7 +450,7 @@ export const theme = createTheme({ '&.Mui-focusVisible': { backgroundColor: 'inherit', boxShadow: `0px 0px 0px 4px ${palette.primary[200]}`, - '&::hover': { + '&:hover': { backgroundColor: palette.grey[100], }, },