I love this library. I'd like to use it to display a moderate response table on one of my web pages, but the text gets a little wide. I was hoping there was an option to change the width of the overall alert for the page that I'm displaying the table within SweetAlert, but I'm not having any luck. Table & HTML look great, just too much info for the modal.
I can't even find where the width is set in the overall sweetalert.css.
I thought maybe the customClass configuation key might help and I tried:
swal({
title: priorityLevel +' Issues for '+appName,
html: appHTML,
type: "info",
customClass: 'swal-wide',
showCancelButton: true,
showConfirmButton:false
});
The css was just a simple:
.swal-wide{
width:850px;
}
This didn't do anything. Anyone have an idea of how to do this or perhaps have played around with the width element?
Thank you!