Update _table.scss

use `:is()`
This commit is contained in:
JWB 2025-03-15 23:07:44 -04:00 committed by GitHub
parent a8aa4b8936
commit ee5246de88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,13 +50,13 @@
// Striped // Striped
@if enable-classes { @if enable-classes {
/* clean-css ignore:start */
#{$parent-selector} table.striped { #{$parent-selector} table.striped {
tbody tr:nth-child(odd of :not([hidden])) th, tbody tr:is(:nth-child(odd of :not([hidden]))) {
tbody tr:nth-child(odd of :not([hidden])) td { th,
td {
background-color: var(#{$css-var-prefix}table-row-stripped-background-color); background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
} }
} }
/* clean-css ignore:end */ }
} }
} }