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

No control over confirm button placement, layout. #122

Open
ryansh100 opened this issue Mar 20, 2017 · 3 comments
Open

No control over confirm button placement, layout. #122

ryansh100 opened this issue Mar 20, 2017 · 3 comments

Comments

@ryansh100
Copy link

It would be very helpful to be able to assign the confirm button as the right button. It would also be very helpful from a styling perspective to wrap the confirm/reject buttons in a controllable element like another div.

@ryansh100
Copy link
Author

See #123

@jaredreich
Copy link
Owner

Thanks for the PR. I agree about the benefit of choosing the button position, but I'm not so sure about the style wrappers. Have any use-case examples?

@ryansh100
Copy link
Author

We are using the confirm notification as a quick nag dialog in a web app. To get it close to our UX team's vision, I had to make some strong assumptions that a class like .notie-button.notie-background-success was going to be the confirm button in a confirm notification which is probably a fair assumption.

We wanted to keep the confirm/cancel buttons normal sized and right aligned in a standard bootstrap container width, while having the notification background fill the screen width. The wrapping div and classes just add a few more touch points to make notie a little more flexible for styling.

I can back it out if that's not a direction you want to go.

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