I forgot you can't just hide table rows with `display: none` when you also use `tr:nth-child(:odd)` for table striping.
@ayo can you somehow filter children before applying nth-child? Like "of children with data-foo=bar, take nth" ?
Looks like you can:
> :nth-child( <nth> [ of <complex-selector-list> ]? )
@Wolf480pl Ugh. The `display: none` is determined by a combination of parent classes and <tr> classes. Reimplementing that CSS logic inside :nth-child() is going to be very ugly. Alternative is to not use that CSS logic and instead alter the class of every affected <tr>.
Why did I even want to do this client-side.
@ayo is there a selector for visible items?
A lonely little town in the wider world of the fediverse.