feat: custom scrollbar styles table light mode
Add custom scrollbar styles for MuiTableContainer.
This commit is contained in:
@@ -10,6 +10,29 @@ const lightTheme = createTheme({
|
||||
},
|
||||
},
|
||||
components: {
|
||||
MuiTableContainer: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
overflow: 'auto',
|
||||
/* Firefox */
|
||||
scrollbarWidth: 'thin',
|
||||
scrollbarColor: 'gray transparent',
|
||||
|
||||
/* WebKit (Chrome, Edge, Safari) */
|
||||
'&::-webkit-scrollbar': {
|
||||
width: '5px',
|
||||
height: '5px',
|
||||
},
|
||||
'&::-webkit-scrollbar-track': {
|
||||
background: 'transparent',
|
||||
},
|
||||
'&::-webkit-scrollbar-thumb': {
|
||||
backgroundColor: 'gray',
|
||||
borderRadius: '8px',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
MuiButton: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
|
||||
Reference in New Issue
Block a user