Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(material-experimental/mdc-dialog): remove extra outline in high contrast mode #24140

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/material-experimental/mdc-dialog/dialog.scss
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
Expand Down