diff --git a/scss/content/_table.scss b/scss/content/_table.scss index 1239bc6f..b662146a 100644 --- a/scss/content/_table.scss +++ b/scss/content/_table.scss @@ -50,10 +50,10 @@ // Striped @if enable-classes { - #{$parent-selector} table { - &.striped { - tbody tr:nth-child(odd) th, - tbody tr:nth-child(odd) td { + #{$parent-selector} table.striped { + tbody tr:is(:nth-child(odd of :not([hidden]))) { + th, + td { background-color: var(#{$css-var-prefix}table-row-stripped-background-color); } }