Skip to content

Commit

Permalink
fix(table): backgroup color change in hover and selection update (#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusps authored Sep 9, 2024
2 parents 3eb6adc + f3e82d5 commit f5c2a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/shoreline/src/themes/sunrise/components/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
}
}

[data-sl-table-row] [data-selected='true'] {
[data-sl-table-row][data-selected='true'] {
[data-sl-table-cell] {
background: var(--sl-bg-accent);
}
Expand Down Expand Up @@ -138,7 +138,7 @@
}
}

[data-sl-table-row] [data-dim-on-hover='true']:hover {
[data-sl-table-row][data-dim-on-hover='true']:hover {
&[data-selected='false'] {
[data-sl-table-cell] {
background: var(--sl-bg-base-soft);
Expand Down

0 comments on commit f5c2a7c

Please sign in to comment.