mirror of
https://github.com/picocss/pico
synced 2025-08-08 18:36:39 +00:00
Merge pull request #585 from feored/fix-striped-table
fix: don't count hidden rows in table stripes
This commit is contained in:
commit
4b57da2f89
@ -52,8 +52,8 @@
|
||||
@if enable-classes {
|
||||
#{$parent-selector} table {
|
||||
&.striped {
|
||||
tbody tr:nth-child(odd) th,
|
||||
tbody tr:nth-child(odd) td {
|
||||
tbody tr:nth-child(odd of :not([hidden])) th,
|
||||
tbody tr:nth-child(odd of :not([hidden])) td {
|
||||
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user