Skip to content

Commit 1c1ebfd

Browse files
authored
fix(material/sort): show arrow on focus (#30217)
Fixes that the sort header wasn't showing the arrow when it's focused. Fixes #30196.
1 parent 22d96e1 commit 1c1ebfd

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
@@ -79,6 +79,8 @@
7979
@include token-utils.create-token-slot(color, arrow-color);
8080
}
8181

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

0 commit comments

Comments
 (0)