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

Positioning alert in the center #58

Open
vineetdigit opened this issue Dec 3, 2020 · 1 comment
Open

Positioning alert in the center #58

vineetdigit opened this issue Dec 3, 2020 · 1 comment

Comments

@vineetdigit
Copy link

It's clear from the documentation that the alert can be positioned in one of the 4 corners. I'm wondering if there was an easier way to position it at the top/bottom of the viewport and horizontally centered?

@chadly
Copy link
Owner

chadly commented Dec 3, 2020

There aren't currently options to do that, but it should be relatively straight-forward to update the CSS and add an option for that. I'd be happy to review a PR if you are up for implementing it.

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

No branches or pull requests

2 participants