From e85c8656bfd787d85bf2600f6da890eab36f9608 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Sun, 4 May 2025 15:09:53 +0200 Subject: [PATCH] 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. --- src/cdk/dialog/dialog-config.ts | 2 +- src/material/dialog/dialog-config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cdk/dialog/dialog-config.ts b/src/cdk/dialog/dialog-config.ts index 888b5efc3c51..e61ed8e561d7 100644 --- a/src/cdk/dialog/dialog-config.ts +++ b/src/cdk/dialog/dialog-config.ts @@ -74,7 +74,7 @@ export class DialogConfig { /** Min-height of the dialog. If a number is provided, assumes pixel units. */ minHeight?: number | string; - /** Max-width of the dialog. If a number is provided, assumes pixel units. Defaults to 80vw. */ + /** Max-width of the dialog. If a number is provided, assumes pixel units. */ maxWidth?: number | string; /** Max-height of the dialog. If a number is provided, assumes pixel units. */