Skip to content

Support adding CSS class to MdDialog root element #4012

Closed

Description

@xtianus79

Bug, feature request, or proposal:

Bug / Feature

What is the expected behavior?

Unlike The toast notifications which has a parameter to add a class... There is nothing I can add on the parent container level to change styling of md dialog.

What is the current behavior?

I can just override material styles

Which versions of Angular, Material, OS, browsers are affected?

2.0.0-beta.2

Is there anything else we should know?

Nope

Activity

  1. changed the title [-]I cannot access MdDialog so that I have am able to assign a Class or something to differentiate styling between modals[/-] [+]Unable to access MdDialog so that I have am able to assign a Class or something to differentiate styling between modals[/+] on Apr 10, 2017
  2. fxck commented on Apr 10, 2017

    @fxck
    Contributor
  3. changed the title [-]Unable to access MdDialog so that I have am able to assign a Class or something to differentiate styling between modals[/-] [+]Support adding CSS class to MdDialog root element[/+] on Apr 11, 2017
  4. added
    feature
    on Apr 11, 2017
  5. xtianus79 commented on Apr 22, 2017

    @xtianus79
    Author

    @fxck and @jelbourn as of right now this is not available? Or it is on beta.3

  6. jelbourn commented on Nov 29, 2017

    @jelbourn
    Contributor

    This exists now

  7. shizhenbin commented on Dec 11, 2017

    @shizhenbin

    like this is okay:
    this.MarketOrderDetailComponent = this.dialog.open(MarketOrderDetailComponent,{height: '100%',width: '100%',panelClass:"detailDialog"});

  8. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  9. locked and limited conversation to collaborators on Sep 7, 2019
  10. added
    needs: discussion
    on Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureneeds: discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions