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

How to center swal-button #988

Open
nom3d opened this issue Apr 13, 2022 · 1 comment
Open

How to center swal-button #988

nom3d opened this issue Apr 13, 2022 · 1 comment

Comments

@nom3d
Copy link

nom3d commented Apr 13, 2022

I am not seeing a way to center the sweet alert OK button? I've tried all the basic css rules but nothing seems to work.

Any ideas how to center the .swal-button ?

@varadan13
Copy link

I think adding this rule to the global css file would do the trick
.swal-footer {
text-align: center;
}

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

2 participants