Skip to content

Commit b7ca14b

Browse files
seiyriammalerba
authored andcommitted
docs(dialog): remove errant comma, adjust period use (#17271)
* docs(dialog): remove errant comma, adjust period use * docs(dialog): update wording to fit in 100 chars
1 parent d453d06 commit b7ca14b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/material/dialog/dialog-config.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class MatDialogConfig<D = any> {
5353
/** Whether the dialog has a backdrop. */
5454
hasBackdrop?: boolean = true;
5555

56-
/** Custom class for the backdrop, */
56+
/** Custom class for the backdrop. */
5757
backdropClass?: string = '';
5858

5959
/** Whether the user can use escape or clicking on the backdrop to close the modal. */
@@ -65,16 +65,16 @@ export class MatDialogConfig<D = any> {
6565
/** Height of the dialog. */
6666
height?: string = '';
6767

68-
/** Min-width of the dialog. If a number is provided, pixel units are assumed. */
68+
/** Min-width of the dialog. If a number is provided, assumes pixel units. */
6969
minWidth?: number | string;
7070

71-
/** Min-height of the dialog. If a number is provided, pixel units are assumed. */
71+
/** Min-height of the dialog. If a number is provided, assumes pixel units. */
7272
minHeight?: number | string;
7373

74-
/** Max-width of the dialog. If a number is provided, pixel units are assumed. Defaults to 80vw */
74+
/** Max-width of the dialog. If a number is provided, assumes pixel units. Defaults to 80vw. */
7575
maxWidth?: number | string = '80vw';
7676

77-
/** Max-height of the dialog. If a number is provided, pixel units are assumed. */
77+
/** Max-height of the dialog. If a number is provided, assumes pixel units. */
7878
maxHeight?: number | string;
7979

8080
/** Position overrides. */
@@ -92,7 +92,7 @@ export class MatDialogConfig<D = any> {
9292
/** ID of the element that labels the dialog. */
9393
ariaLabelledBy?: string | null = null;
9494

95-
/** Aria label to assign to the dialog element */
95+
/** Aria label to assign to the dialog element. */
9696
ariaLabel?: string | null = null;
9797

9898
/** Whether the dialog should focus the first focusable element on open. */

0 commit comments

Comments
 (0)