Skip to content

Commit 71886a7

Browse files
rmehnerSmankusors
andcommitted
refactor(tables): avoid nesting for striped
Co-authored-by: Antony Kurniawan <[email protected]>
1 parent 86300f0 commit 71886a7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sass/components/_global.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,8 @@ table {
399399
border-bottom: none;
400400
}
401401

402-
> tbody {
403-
> tr:nth-child(odd) {
404-
background-color: $table-striped-color;
405-
}
402+
> tbody > tr:nth-child(odd) {
403+
background-color: $table-striped-color;
406404
}
407405
}
408406

0 commit comments

Comments
 (0)