[openstreetmap/openstreetmap-website] Poorly visible header and section with error messages (Issue #5032)

Nenad Vujicic notifications at github.com
Tue Jul 30 12:13:03 UTC 2024


Sure, let me explain it.

I noticed this while working on PR #5023 where I updated HTML DOM tree with bootstrap alert for errors when message / diary entry / diary entry comment body is empty. Because window was too small, after pressing Preview button, bar with error message was not visible (it was too high).

On other places, alerts are placed on other places (e.g. inside of sidebar, ..), so, I'm not sure you can reproduce it with master sources, since they are already visible. But, in this case (PR #5023), it looks like the most appropriate place (this is subjective and I would like to read other's opinions) is below the header (i.e. at the beginning of the content section), especially if body is long.

Thanks,
Nenad.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5032#issuecomment-2258202829
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5032/2258202829 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240730/86b512be/attachment-0001.htm>


More information about the rails-dev mailing list