

https://stackblitz.com/edit/angular-pwfr1g?file=app%2Fdialog-overview-example-dialog.html
Material: 7.2.0
You can configure the alignment of the buttons but it's not obvious from the documentation.
<div mat-dialog-action align="end">
<button color="accent" mat-button>CANCEL</button>
<button color="accent" mat-button>ACCEPT</button>
</div>
Thank you, the biggest problem is actually the layout, the paddings are completely wrong which results in a really odd dialog.
The specs do seem off on the dialog - https://material.io/design/components/dialogs.html#specs
The documentation page for dialog should at least have an updated sample that specifies buttons align="end" to promote following the standard.
Would be nice to have align="end" as the default. Kind of a pain to have to specify this everywhere or add a css override per project.
There's a PR to default it to end already: https://github.com/angular/material2/pull/13620.
Most helpful comment
There's a PR to default it to
endalready: https://github.com/angular/material2/pull/13620.