Skip to content

Commit

Permalink
fix custom property values of row overrides individual cell (#34799)
Browse files Browse the repository at this point in the history
  • Loading branch information
bavoco committed Sep 8, 2021
1 parent 395b50a commit 00a230a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/_tables.scss
Expand Up @@ -98,7 +98,7 @@
// Default zebra-stripe styles (alternating gray and transparent backgrounds)

.table-striped {
> tbody > tr:nth-of-type(#{$table-striped-order}) {
> tbody > tr:nth-of-type(#{$table-striped-order}) > * {
--#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-striped-bg);
color: var(--#{$variable-prefix}table-striped-color);
}
Expand All @@ -118,7 +118,7 @@
// Placed here since it has to come after the potential zebra striping

.table-hover {
> tbody > tr:hover {
> tbody > tr:hover > * {
--#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-hover-bg);
color: var(--#{$variable-prefix}table-hover-color);
}
Expand Down

0 comments on commit 00a230a

Please sign in to comment.