cyril.tsui 2 недель назад
Родитель
Сommit
eb6f64ec53
1 измененных файлов: 12 добавлений и 0 удалений
  1. +12
    -0
      src/theme/devias-material-kit/components.ts

+ 12
- 0
src/theme/devias-material-kit/components.ts Просмотреть файл

@@ -298,6 +298,18 @@ const components: ThemeOptions["components"] = {
},
},
},
MuiTableRow: {
styleOverrides: {
root: {
// '&:nth-of-type(odd)': {
// backgroundColor: 'rgba(0, 0, 0, 0.04)', // Example for odd rows
// },
'&:nth-of-type(even)': {
backgroundColor: palette.neutral[50], // Example for even rows
},
},
},
},
MuiTableCell: {
styleOverrides: {
root: {


Загрузка…
Отмена
Сохранить