Answers for "Get rid of white space around Angular Material modal dialog"

1

Get rid of white space around Angular Material modal dialog

import {ViewEncapsulation} from '@angular/core';
    
@Component({
  .....,
  encapsulation: ViewEncapsulation.None 
})
Posted by: Guest on July-15-2020
0

Get rid of white space around Angular Material modal dialog

.mat-dialog-container {
    padding: 0px !important;
}
Posted by: Guest on July-15-2020
0

Get rid of white space around Angular Material modal dialog

.custom-dialog-container .mat-dialog-container {
    /* add your styles */
}
Posted by: Guest on July-15-2020
0

Get rid of white space around Angular Material modal dialog

this.dialog.open(MyDialogComponent, { panelClass: 'custom-dialog-container' })
Posted by: Guest on July-15-2020

Code answers related to "Get rid of white space around Angular Material modal dialog"

Code answers related to "Javascript"

Browse Popular Code Answers by Language