From ee5246de8823b7e1fbcba20994517467c3250b5c Mon Sep 17 00:00:00 2001 From: JWB Date: Sat, 15 Mar 2025 23:07:44 -0400 Subject: [PATCH] Update _table.scss use `:is()` --- scss/content/_table.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scss/content/_table.scss b/scss/content/_table.scss index ec111cf7..b662146a 100644 --- a/scss/content/_table.scss +++ b/scss/content/_table.scss @@ -50,13 +50,13 @@ // Striped @if enable-classes { - /* clean-css ignore:start */ #{$parent-selector} table.striped { - 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); + tbody tr:is(:nth-child(odd of :not([hidden]))) { + th, + td { + background-color: var(#{$css-var-prefix}table-row-stripped-background-color); + } } } - /* clean-css ignore:end */ } }