lipis/bootstrap-sweetalert

Add custom class to buttons container?

altmind opened this issue · 0 comments

It seems that bootstrap-sweetalert added extremely useful initialization properties cancelButtonClass, confirmButtonClass, containerClass not present in original sweetalert. Could you please add additional property to control class of buttons container?

<p /* class = "SOMECLASS" */>
<button class="cancel btn btn-lg btn-primary">No, I made an oopsy.</button>
<button class="confirm btn btn-lg btn-secondary">Yes, do it!</button>
</p>

We need that to control buttons wrapping(white-space: nowrap), otherwise we get http://imgur.com/Dm8REnh when there is not enough width in modal.