Skip to content

Commit

Permalink
Prevent hover style overriding active sort style on touch devices
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoniePeters committed Mar 27, 2024
1 parent 1166d50 commit db3ccbf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/style/scss/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,11 @@ table,
transform: rotate(180deg);
}

&:hover div::after {
color: $black;
// prevents hover style overriding the active sort style on touch devices
@media (hover: hover) and (pointer: fine) {
&:hover div::after {
color: $black;
}
}
}

Expand Down

0 comments on commit db3ccbf

Please sign in to comment.