angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.36k stars 6.74k forks source link

Support adding CSS class to MdDialog root element #4012

Closed xtianus79 closed 6 years ago

xtianus79 commented 7 years ago

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

fxck commented 7 years ago

https://github.com/angular/material2/issues/3472

xtianus79 commented 7 years ago

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

jelbourn commented 6 years ago

This exists now

shizhenbin commented 6 years ago

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

angular-automatic-lock-bot[bot] commented 5 years ago

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.