Skip to content

Commit 10e752a

Browse files
committed
fix(material/sort): show arrow on focus (#30217)
Fixes that the sort header wasn't showing the arrow when it's focused. Fixes #30196. (cherry picked from commit 1c1ebfd)
1 parent 65db2cc commit 10e752a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/sort/sort-header.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878
@include token-utils.create-token-slot(color, arrow-color);
7979
}
8080

81+
.mat-sort-header.cdk-keyboard-focused &,
82+
.mat-sort-header.cdk-program-focused &,
8183
.mat-sort-header:hover & {
8284
opacity: 0.54;
8385
}

0 commit comments

Comments
 (0)