Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom class to buttons container? #24

Open
altmind opened this issue Feb 11, 2015 · 0 comments
Open

Add custom class to buttons container? #24

altmind opened this issue Feb 11, 2015 · 0 comments

Comments

@altmind
Copy link

altmind commented Feb 11, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant