diff --git a/src/context/theme-provider.tsx b/src/context/theme-provider.tsx index 5188f53e..9b8b3164 100644 --- a/src/context/theme-provider.tsx +++ b/src/context/theme-provider.tsx @@ -102,6 +102,29 @@ const darkTheme = createTheme({ }, }, components: { + MuiTableContainer: { + styleOverrides: { + root: { + overflow: 'auto', + /* Firefox */ + scrollbarWidth: 'thin', + scrollbarColor: 'currentColor transparent', + + /* WebKit (Chrome, Edge, Safari) */ + '&::-webkit-scrollbar': { + width: '5px', + height: '5px', + }, + '&::-webkit-scrollbar-track': { + background: 'transparent', + }, + '&::-webkit-scrollbar-thumb': { + backgroundColor: 'currentColor', + borderRadius: '8px', + }, + }, + }, + }, MuiButton: { styleOverrides: { root: { @@ -280,4 +303,4 @@ const ThemeModeProvider = ({ children }: { children: React.ReactNode }) => { ); }; -export default ThemeModeProvider; \ No newline at end of file +export default ThemeModeProvider;