material
material copied to clipboard
Add ability to set max width in $mdDialog.confirm()
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.
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.
:+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...