Skip to content

Commit 7664411

Browse files
committed
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. (cherry picked from commit e85c865)
1 parent 7cb0add commit 7664411

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cdk/dialog/dialog-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class DialogConfig<D = unknown, R = unknown, C extends BasePortalOutlet =
6363
/** Min-height of the dialog. If a number is provided, assumes pixel units. */
6464
minHeight?: number | string;
6565

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

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

src/material/dialog/dialog-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class MatDialogConfig<D = any> {
8080
/** Min-height of the dialog. If a number is provided, assumes pixel units. */
8181
minHeight?: number | string;
8282

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

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

0 commit comments

Comments
 (0)