Width of alert popup

can we can change width of alert popup, i want to increase
i tried many times, but not working

To change the width of a dialog, try this code.

dialog = new frappe.ui.Dialog({"title":"Custom Dialog", "message":"hello world"});

// Set the width of the dialog to 800px
dialog.$wrapper.find('.modal-dialog').css("width", "800px");


For more exploration, check out the frappe.ui.Dialog class

Hi @nilpatel42,

apply it.

size: 'large', // small, large, extra-large 

Please check it.