Skip to content

Commit 0c64b15

Browse files
crisbetojelbourn
authored andcommitted
fix(bottom-sheet): not visible in high contrast mode (#10265)
Fixes the bottom sheet not being distinguishable against the background in high contrast mode.
1 parent f91334a commit 0c64b15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib/bottom-sheet/bottom-sheet-container.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import '../core/style/elevation';
2+
@import '../../cdk/a11y/a11y';
23

34
// The bottom sheet minimum width on larger screen sizes is based
45
// on increments of the toolbar, according to the spec. See:
@@ -16,6 +17,10 @@ $mat-bottom-sheet-container-horizontal-padding: 16px !default;
1617
box-sizing: border-box;
1718
display: block;
1819
outline: 0;
20+
21+
@include cdk-high-contrast {
22+
outline: 1px solid;
23+
}
1924
}
2025

2126
.mat-bottom-sheet-container-medium {

0 commit comments

Comments
 (0)