Updated the clean-css filter to ignore the odd of lines so it doesnt create an empty selector

This commit is contained in:
Yohn 2025-01-18 16:17:59 -05:00
parent 0708656f6c
commit 9ea0a83a8b

View file

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