Skip to content

Commit 7af9a2b

Browse files
tw15eganAlessandra Davilakodiakhq[bot]
authored
fix(DataTable): retain active state when sort is active (#6524)
Co-authored-by: Alessandra Davila <aledavila@ibm.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent eebf8aa commit 7af9a2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/components/src/components/data-table/_data-table-sort.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@
8686
fill: $ui-05;
8787
}
8888

89+
.#{$prefix}--table-sort.#{$prefix}--table-sort--active {
90+
background: $data-table-column-hover;
91+
}
92+
8993
// active icons
9094
.#{$prefix}--table-sort.#{$prefix}--table-sort--active
9195
.#{$prefix}--table-sort__icon-unsorted {

0 commit comments

Comments
 (0)