Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix custom property values of row overrides individual cell #34799

Merged
merged 2 commits into from Sep 8, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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