-
Notifications
You must be signed in to change notification settings - Fork 232
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
Flash error message does not display fully #147
Comments
Thanks for reporting this. It'd be great to have a pull request (or just paste the fix here) if you sort it out. Is the error message from Stripe getting truncated? Or is it just a problem with the CSS not being wide enough? |
I'm not sure what browser you're using but if you can get firebug installed for it, you can find out where in the css you can adjust the width of that message. I just checked the template with firebug. You might be able to toss the below in custom.css and play around with it a bit to get what you want.
.alert-danger, #error_explanation:not(:empty) { .alert, #error_explanation:not(:empty) { |
@nikolay12 , reduce your padding .. try 2px and see how it looks. also, the code you are looking for is in app/views/devise/registrations/new.html.erb
CSS will operate on the id of 'error_explanation' so, open this file : app/assets/stylesheets/framework_and_overrides.css.scss Search the file for error_explanation and you should see two uses. change this one : #error_explanation:not(:empty) { to this : #error_explanation:not(:empty) { Your errors should look good now. |
The text was updated successfully, but these errors were encountered: