Skip to content

Commit

Permalink
Updated the clean-css filter to ignore the odd of lines so it doesn…
Browse files Browse the repository at this point in the history
…t create an empty selector
  • Loading branch information
Yohn committed Jan 18, 2025
1 parent 0708656 commit 9ea0a83
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scss/content/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 9ea0a83

Please sign in to comment.