Quantcast
Channel: angular material dialog mat-dialog-actions position - Stack Overflow
Viewing all articles
Browse latest Browse all 9

angular material dialog mat-dialog-actions position

$
0
0

I'm using Angular Material Dialog component, with mat-dialog-content and mat-dialog-actions to display a footer with action buttons.

If I set a height of the dialog (e.g 80%), the dialog-actions is weirdly higher than the default.

Here is a forked stackblitz of an official example

I just set height: 80%

const dialogRef = this.dialog.open(DialogContentExampleDialog, {  height: '80%',  width: '520px'});

Here is the result:

enter image description here

In my opinion that's an issue :) but what's your opinion? Is it possible to easily fix it?

Thanks!


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images