diff --git a/packages/components/src/components/List/components/Table/Table.module.css b/packages/components/src/components/List/components/Table/Table.module.css index c289fcdfd..9d15235f4 100644 --- a/packages/components/src/components/List/components/Table/Table.module.css +++ b/packages/components/src/components/List/components/Table/Table.module.css @@ -3,24 +3,24 @@ pointer-events: none; opacity: 0.5; } -} -.row { - &.isSelected { - background-color: var(--list-item--background-color--pressed); - } + .row { + &.isSelected { + background-color: var(--list-item--background-color--pressed); + } - &:where(.hasAction) { - cursor: default; + &.hasAction { + cursor: default; - &:not(.isSelected) { - &:hover { - background-color: var(--list-item--background-color--hover); - } - } + &:not(.isSelected) { + &:hover { + background-color: var(--list-item--background-color--hover); + } - &[data-pressed] { - background-color: var(--list-item--background-color--pressed); + &[data-pressed] { + background-color: var(--list-item--background-color--pressed); + } + } } } } diff --git a/packages/components/src/components/Table/Table.module.scss b/packages/components/src/components/Table/Table.module.scss index 59ebe4aaf..a465b9287 100644 --- a/packages/components/src/components/Table/Table.module.scss +++ b/packages/components/src/components/Table/Table.module.scss @@ -41,7 +41,7 @@ .body { .row { - &:nth-of-type(odd):not(.footer) { + &:where(:nth-of-type(odd):not(.footer)) { background-color: var(--table--background-color-accent); }