matDialog doesn't open as dialog
问题 Instead of opening as a layover popup, it opens as a block on the bottom of the page left aligned. I searched for similar problems, found this angular2 MdDialog is not appearing as a popup but also doesn't work. Made a clean page, maybe it was some of my other css that interfered, but nope. <div> <h4 mat-dialog-title>New consultant</h4> </div> <mat-dialog-content> <div *ngIf="!allFieldsAreFilledIn()" class="alert alert-info"> <strong>{{ getAddFeedback('emptyFields') }}</strong> </div> <div