Fix the issue where rows do not retain shading when scrolling. #8013
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 158 KiB |
|
Before Width: | Height: | Size: 337 KiB After Width: | Height: | Size: 282 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 219 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 231 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 209 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 137 KiB |
|
|
@ -67,10 +67,10 @@ const StyledPgReactDataGrid = styled(PgReactDataGrid)(({theme})=>({
|
|||
backgroundColor: theme.palette.primary.light,
|
||||
color: theme.otherVars.qtDatagridSelectFg,
|
||||
},
|
||||
'& .rdg-row.rdg-row-even': {
|
||||
backgroundColor: theme.palette.grey[200],
|
||||
},
|
||||
'& .rdg-row': {
|
||||
'&:nth-of-type(even)': {
|
||||
backgroundColor: theme.palette.grey[200],
|
||||
},
|
||||
'& .rdg-cell:nth-of-type(1)': {
|
||||
backgroundColor: theme.palette.grey[600],
|
||||
},
|
||||
|
|
|
|||