react-bs-notifier icon indicating copy to clipboard operation
react-bs-notifier copied to clipboard

Positioning alert in the center

Open vineetdigit opened this issue 4 years ago • 1 comments

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?

vineetdigit avatar Dec 03 '20 07:12 vineetdigit

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.

chadly avatar Dec 03 '20 18:12 chadly