-
|
I like that IHP has this single-page-application feeling, and when the next view is similar to the current, the viewport doesn’t move. But this is a problem with flash messages, which are visible at the top by default, so the user might get an error message and not even see it. How do others fix this? Is there maybe some simple CSS I throw at the problem to make the flash message appear, say, at the bottom of the viewport instead? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
You could try attaching a |
Beta Was this translation helpful? Give feedback.
-
|
A better solution would actually be a "toast" style message, since users can find scrolling annoying when they're changing things back and forth. Is there anything like a dismissable toast popup already in the IHP styles? |
Beta Was this translation helpful? Give feedback.
I don't know if this is the best way, but I did this by modifying the cssFramework, e.g. with the default bootstrap
and then in Config.hs