Skip to content

Commit 4b57da2

Browse files
Merge pull request #585 from feored/fix-striped-table
fix: don't count hidden rows in table stripes
2 parents 6ea9530 + 72e4699 commit 4b57da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scss/content/_table.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
@if enable-classes {
5353
#{$parent-selector} table {
5454
&.striped {
55-
tbody tr:nth-child(odd) th,
56-
tbody tr:nth-child(odd) td {
55+
tbody tr:nth-child(odd of :not([hidden])) th,
56+
tbody tr:nth-child(odd of :not([hidden])) td {
5757
background-color: var(#{$css-var-prefix}table-row-stripped-background-color);
5858
}
5959
}

0 commit comments

Comments
 (0)