@mamrp/components 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3080,10 +3080,8 @@ var Table = ({
3080
3080
  "& .MuiDataGrid-columnHeaderTitle": {
3081
3081
  fontSize: fontSize ?? "1rem"
3082
3082
  },
3083
- ...evenRowBgColor !== "" && {
3084
- "& .MuiDataGrid-row:nth-child(even)": {
3085
- backgroundColor: evenRowBgColor
3086
- }
3083
+ "& .MuiDataGrid-row:nth-of-type(even)": {
3084
+ backgroundColor: evenRowBgColor !== "" ? evenRowBgColor : ""
3087
3085
  },
3088
3086
  "& .MuiDataGrid-row:hover": {
3089
3087
  backgroundColor: "rgba(0, 0, 0, 0.08)"