isOdd/isEven Table row classes (#7414)

This commit is contained in:
Jaco 2022-04-21 10:07:19 +02:00 committed by GitHub
parent 89db0b2926
commit 1db1eb1b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ function Extensions ({ chainInfo, className }: Props): React.ReactElement<Props>
/>
</td>
</tr>
<tr className='hasOddRowColoring'>
<tr className='isOdd'>
<td>
<Button.Group>
<Button

View File

@ -291,8 +291,8 @@ export default React.memo(styled(Table)`
}
tr {
&.hasOddRowColoring,
&:nth-child(odd) {
&.isOdd,
&:nth-child(odd):not(.isEven) {
background: var(--bg-table);
}