isOdd/isEven Table row classes (#7414)
This commit is contained in:
parent
89db0b2926
commit
1db1eb1b93
@ -67,7 +67,7 @@ function Extensions ({ chainInfo, className }: Props): React.ReactElement<Props>
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr className='hasOddRowColoring'>
|
||||
<tr className='isOdd'>
|
||||
<td>
|
||||
<Button.Group>
|
||||
<Button
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user