MatDialog does not follow material guidelines
What is the expected behavior?

What is the current behavior?

What are the steps to reproduce?
https://stackblitz.com/edit/angular-pwfr1g?file=app%2Fdialog-overview-example-dialog.html
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
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.
https://material.angular.io/components/dialog/overview
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.
@andrewseguin It seems the padding is wrong as well.
This should be addressed with M3.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.