After clicking a button, a MatDialog component is opened and contains some html and other angular material components. I'm using mat-elevation-z5 class and the dialog looks like that :
I want to delete the background (the Matdialog effect) and keep only my form
this is my html :
<div class="form-container mat-elevation-z5" style="">
<h1 mat-dialog-title>Add new user</h1>
<div mat-dialog-content>
<form [formGroup]="registerUserForm" (ngSubmit)="submit()">
<mat-form-field>
<input matInput placeholder="Full Name" formControlName="name" />
</mat-form-field>
</form>
</div>
</div>