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.
  • Loading branch information
crisbeto authored Dec 19, 2024
1 parent 22d96e1 commit 1c1ebfd
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 @@ -79,6 +79,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 1c1ebfd

Please sign in to comment.