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:
Kristiyan Kostadinov
2018-05-08 18:52:49 +02:00
committed by Jeremy Elbourn
parent 3018b6d689
commit 9e9daf8428
+5
View File
@@ -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;
}
}