Skip to content

Commit

Permalink
Forces codap-data-cell color to selection color if row is selected (#…
Browse files Browse the repository at this point in the history
…1552)

* Forces codap-data-cell color to selection color if row is selected

* PR fix
  • Loading branch information
eireland authored Oct 22, 2024
1 parent 115237e commit 677715b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions v3/src/components/case-table/case-table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ $table-body-font-size: 8pt;
background-color: #D3E9C8;
}
}
&[aria-selected=true] {
.codap-data-cell {
background-color: var(--rdg-row-selected-background-color);
}
}
}

.rdg-cell {
Expand Down Expand Up @@ -307,6 +312,10 @@ $table-body-font-size: 8pt;
background-color: rgba(255, 255, 0, 0.2);
}

&.selected {
background-color: var(--rdg-row-selected-background-color);
}

.cell-color-swatch {
width: 100%;
height: 100%;
Expand Down

0 comments on commit 677715b

Please sign in to comment.