Row classes overrides for tables (#4472)
* Row classes overrides for tables * Adjust faint highlight
This commit is contained in:
parent
905a1e01a3
commit
0323d96b4c
@ -177,11 +177,8 @@ export default React.memo(styled(Body)(({ theme }: ThemeProps) => `
|
||||
}
|
||||
|
||||
tr {
|
||||
// &:nth-child(odd) {
|
||||
// background: #faf8f6;
|
||||
// }
|
||||
|
||||
&:nth-child(odd) {
|
||||
&:nth-child(odd):not(.isEven),
|
||||
&:nth-child(even).isOdd {
|
||||
background: ${theme.bgTable};
|
||||
}
|
||||
|
||||
|
||||
@ -76,7 +76,7 @@ export default createGlobalStyle<Props & ThemeProps>(({ theme, uiHighlight }: Pr
|
||||
}
|
||||
|
||||
.highlight--bg-faint:before {
|
||||
opacity: 0.025;
|
||||
opacity: 0.0375;
|
||||
}
|
||||
|
||||
.highlight--bg-light:before {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user