Skip to content

Commit e85c865

Browse files
authored
docs(material/dialog): remove default value from doc string (#31025)
Removes the default value for the `maxWidth` from the doc string since it's different depending on if it's M2 or M3 and it tends to get out of sync.
1 parent 8be9b8f commit e85c865

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cdk/dialog/dialog-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class DialogConfig<D = unknown, R = unknown, C extends BasePortalOutlet =
7474
/** Min-height of the dialog. If a number is provided, assumes pixel units. */
7575
minHeight?: number | string;
7676

77-
/** Max-width of the dialog. If a number is provided, assumes pixel units. Defaults to 80vw. */
77+
/** Max-width of the dialog. If a number is provided, assumes pixel units. */
7878
maxWidth?: number | string;
7979

8080
/** Max-height of the dialog. If a number is provided, assumes pixel units. */

src/material/dialog/dialog-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class MatDialogConfig<D = any> {
9292
/** Min-height of the dialog. If a number is provided, assumes pixel units. */
9393
minHeight?: number | string;
9494

95-
/** Max-width of the dialog. If a number is provided, assumes pixel units. Defaults to 80vw. */
95+
/** Max-width of the dialog. If a number is provided, assumes pixel units. */
9696
maxWidth?: number | string;
9797

9898
/** Max-height of the dialog. If a number is provided, assumes pixel units. */

0 commit comments

Comments
 (0)