Skip to content

Commit

Permalink
fix(material/sort): show arrow on focus (#30217)
Browse files Browse the repository at this point in the history
Fixes that the sort header wasn't showing the arrow when it's focused.

Fixes #30196.

(cherry picked from commit 1c1ebfd)
  • Loading branch information
crisbeto committed Dec 19, 2024
1 parent 65db2cc commit 10e752a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/material/sort/sort-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
@include token-utils.create-token-slot(color, arrow-color);
}

.mat-sort-header.cdk-keyboard-focused &,
.mat-sort-header.cdk-program-focused &,
.mat-sort-header:hover & {
opacity: 0.54;
}
Expand Down

0 comments on commit 10e752a

Please sign in to comment.