1// Overlay-based components have a panelClass property (or similar)
2// that can be used to target the overlay pane.
3
4this.dialog.open(DialogExampleComponent, {
5 panelClass: 'dialog-container-custom'
6});
7
8// then style it from there
9
10.dialog-container-custom .mat-dialog-container {
11 padding: 0;
12 background: grey;
13}