From 72e469942e8b4afeea3f5d753e4908431116194e Mon Sep 17 00:00:00 2001 From: feored Date: Sat, 3 Aug 2024 21:41:20 +0200 Subject: [PATCH] fix: don't count hidden rows in table stripes --- scss/content/_table.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scss/content/_table.scss b/scss/content/_table.scss index 1239bc6f9..eb2a6f681 100644 --- a/scss/content/_table.scss +++ b/scss/content/_table.scss @@ -52,8 +52,8 @@ @if enable-classes { #{$parent-selector} table { &.striped { - tbody tr:nth-child(odd) th, - tbody tr:nth-child(odd) td { + 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); } }