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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to