mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(autocomplete): panel blending in with background in high contrast mode (#11190)
Fixes the autocomplete panel not being visible in high contrast mode, because it doesn't have a border and box shadows aren't being rendered.
This commit is contained in:
committed by
Jeremy Elbourn
parent
3018b6d689
commit
9e9daf8428
@@ -1,4 +1,5 @@
|
||||
@import '../core/style/menu-common';
|
||||
@import '../../cdk/a11y/a11y';
|
||||
|
||||
/**
|
||||
* The max-height of the panel, currently matching mat-select value.
|
||||
@@ -22,4 +23,8 @@ $mat-autocomplete-panel-max-height: 256px !default;
|
||||
&.mat-autocomplete-hidden {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
@include cdk-high-contrast {
|
||||
outline: solid 1px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user