Skip to content

bug(dialog): The margin in v15.0 is broken #26082

@zijianhuang

Description

@zijianhuang

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

14,13,12

Description

The margins of content are too narrow to the borders. I have tried 4 prebuilt themes, the results are the same.

Reproduction

Steps to reproduce:

  1. Go to https://material.angular.io/components/dialog/overview, and click any dialog example

Expected Behavior

go to https://material.angular.io/components/dialog/overview then switch to v14, v13 etc.

Actual Behavior

Ugly dialog with too narrow margins of content to the borders.

Environment

  • Angular: 15.0 or 15.0.1
  • CDK/Material: 15.0
  • Browser(s): Chrome and Firefox
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

Labels

needs triageThis issue needs to be triaged by the team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions