Skip to content

Ability to assign class to dialog #4718

@jbojcic1

Description

@jbojcic1

Feature request:

When I want to set dialog width from code I see that style is set to cdk-overlay-pane element but if I want to do that from css I don't have a way as I cannot set any class to cdk-overlay-pane.

This is useful when you need responsive widths so that you can write media queries which is imo a lot cleaner way than listening to window resize and changing width from code with updateSize method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions