From 9ea0a83a8b2be9716701d5aae1517a777229e513 Mon Sep 17 00:00:00 2001 From: Yohn Date: Sat, 18 Jan 2025 16:17:59 -0500 Subject: [PATCH] Updated the clean-css filter to ignore the `odd of` lines so it doesnt create an empty selector --- scss/content/_table.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scss/content/_table.scss b/scss/content/_table.scss index cbd62aba..99009416 100644 --- a/scss/content/_table.scss +++ b/scss/content/_table.scss @@ -71,10 +71,8 @@ @if enable-classes { #{$parent-selector} table { &.striped { - /* clean-css ignore:start */ - tbody tr:nth-child(odd of :not([hidden])) th, - tbody tr:nth-child(odd of :not([hidden])) td { - /* clean-css ignore:end */ + tbody tr:nth-child(/* clean-css ignore:start */ odd of /* clean-css ignore:end */:not([hidden])) th, + tbody tr:nth-child(/* clean-css ignore:start */ odd of /* clean-css ignore:end */:not([hidden])) td { background-color: var(#{$css-var-prefix}table-row-stripped-background-color); } }