*** Update ***
Since Angular 18 and Material 3:
this.matDialog .open(YourDialogComponent, { minWidth: 0, maxWidth: '100%', width: '80vw', // Need to set the width this way });