From 3f727a25b4144dbe065c9e1dabc0c1f51ab560bb Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Fri, 7 Jan 2022 20:55:07 +0200 Subject: [PATCH] fix(material-experimental/mdc-dialog): remove extra outline in high contrast mode (#24140) MDC have started including their own `border` in high contrast mode so our `outline` isn't necessary anymore. --- src/material-experimental/mdc-dialog/dialog.scss | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/material-experimental/mdc-dialog/dialog.scss b/src/material-experimental/mdc-dialog/dialog.scss index 4ee775525673..1479e5f62eaa 100644 --- a/src/material-experimental/mdc-dialog/dialog.scss +++ b/src/material-experimental/mdc-dialog/dialog.scss @@ -1,7 +1,6 @@ @use '@material/dialog' as mdc-dialog; @use '../mdc-helpers/mdc-helpers'; @use './mdc-dialog-structure-overrides'; -@use '../../cdk/a11y'; // Dialog content max height. This has been copied from the standard dialog // and is needed to make the dialog content scrollable. @@ -17,10 +16,6 @@ $mat-dialog-button-horizontal-margin: 8px !default; // The dialog container is focusable. We remove the default outline shown in browsers. .mat-mdc-dialog-container { outline: 0; - - @include a11y.high-contrast(active, off) { - outline: solid 1px; - } } // MDC sets the display behavior for title and actions, but not for content. Since we support