mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(bottom-sheet): not visible in high contrast mode (#10265)
Fixes the bottom sheet not being distinguishable against the background in high contrast mode.
This commit is contained in:
committed by
Jeremy Elbourn
parent
f91334af2f
commit
0c64b15f3d
@@ -1,4 +1,5 @@
|
||||
@import '../core/style/elevation';
|
||||
@import '../../cdk/a11y/a11y';
|
||||
|
||||
// The bottom sheet minimum width on larger screen sizes is based
|
||||
// on increments of the toolbar, according to the spec. See:
|
||||
@@ -16,6 +17,10 @@ $mat-bottom-sheet-container-horizontal-padding: 16px !default;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
outline: 0;
|
||||
|
||||
@include cdk-high-contrast {
|
||||
outline: 1px solid;
|
||||
}
|
||||
}
|
||||
|
||||
.mat-bottom-sheet-container-medium {
|
||||
|
||||
Reference in New Issue
Block a user