1const dialogRef = this.dialog.open(OpenedDialogComponent, {
2 width: '98vw', //sets width of dialog
3 height:'70vh', //sets width of dialog
4 maxWidth: '100vw', //overrides default width of dialog
5 maxHeight: '100vh', //overrides default height of dialog
6 disableClose: true //disables closing on clicking outside box. You will need to make a dedicated button to close
7 });