material icon indicating copy to clipboard operation
material copied to clipboard

Add ability to set max width in $mdDialog.confirm()

Open rtrix opened this issue 11 years ago • 2 comments

When using $mdDialog.confirm(), a long content string will result in an extremely wide dialog. We'd like the ability to set a max width for the dialog.

rtrix avatar Jun 17 '15 22:06 rtrix

I think this could potentially be solved by letting users specify one or more CSS classes to be applied to a dialog when it's opened.

jelbourn avatar Jun 18 '15 01:06 jelbourn

:+1: on the add CSS classes idea. For now you can use the .content( ) API to specify HTML content with breaks and spans and classes...

ThomasBurleson avatar Sep 04 '15 11:09 ThomasBurleson