[openstreetmap/openstreetmap-website] Remove unnecessary wrapper divs from data layer error message (PR #5574)

Anton Khorev notifications at github.com
Wed Jan 29 12:03:59 UTC 2025


The message was added in #5551.

There is a slight difference, the flex wrapper shrinks the alert paragraph. We don't do that in `displayFeatureWarning`.

Before:
![image](https://github.com/user-attachments/assets/626e3d96-cfe0-4606-a986-59c6d2121951)

After:
![image](https://github.com/user-attachments/assets/f1ea6386-10f3-4d06-957d-7b77dde8ff9f)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5574

-- Commit Summary --

  * Remove unnecessary wrapper divs from data layer error message

-- File Changes --

    M app/assets/javascripts/index/layers/data.js (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5574.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5574.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5574
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5574 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250129/65fc9e12/attachment.htm>


More information about the rails-dev mailing list