Fix the issue where rows do not retain shading when scrolling. #8013

pull/8025/head
Rohit Bhati 2024-10-10 15:19:24 +05:30 committed by GitHub
parent 8c45dea975
commit b649094d36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 KiB

After

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 137 KiB

View File

@ -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],
},