Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

How to change the dimenions of alert?

  • I like to increase the width and height of the alert dialog. The content passed to the default slot does not take any effect on the alert width or height. How to change that?

  • administrators

    You can set the width of the dialog by adding a width CSS style to the .alert-dialog class.

    You can set the height of the dialog title by adding a height style to .alert-dialog-title, or to the dialog content by doing the same to .alert-dialog-content.