mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(chips): focus indication not visible in high contrast mode (#12431)
Fixes not being able to tell which chip is focused in high contrast mode.
This commit is contained in:
committed by
Jeremy Elbourn
parent
df2b371d66
commit
bcf4c9f26b
@@ -47,6 +47,11 @@ $mat-chip-remove-size: 18px;
|
||||
|
||||
@include cdk-high-contrast {
|
||||
outline: solid 1px;
|
||||
|
||||
&:focus {
|
||||
// Use 2px here since the dotted outline is a little thinner.
|
||||
outline: dotted 2px;
|
||||
}
|
||||
}
|
||||
|
||||
&.mat-chip-with-trailing-icon.mat-chip-with-avatar,
|
||||
|
||||
Reference in New Issue
Block a user