Skip to content

Clarify use of non-standard "align" attribute for mat-dialog-actions #18479

Closed
@cwatzl

Description

@cwatzl

Documentation Feedback

Documentation suggests using the align attribute to align the content of mat-dialog-actions directives to the middle or right. However, align is an obsolete HTML attribute and not valid HTML5, and my IDE's static code analysis tools rightfully complain about using it. If using align really is the right way of doing this regardless of W3C standards, this should be clarified in the docs (and possibly be explicitly declared as a property of the MatDialogActions directive to make IDEs stop complaining).

Affected documentation page: https://material.angular.io/components/dialog/overview

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsarea: material/dialogdocsThis issue is related to documentationgood first issueThis issue is a good place to start for first time contributors to the project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions