[openstreetmap/openstreetmap-website] Remove custom css and large left margin for map noscript message (PR #4343)

Anton Khorev notifications at github.com
Mon Nov 13 09:35:43 UTC 2023


Currently the message for disabled javascript has a large left margin. But what if the window is small? Also `z-index` doesn't do anything because it has static positioning.

Before:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/ebd821c0-4448-427b-9518-31e74231fbd2)

After:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/6c5e6ab6-018c-4319-87ec-38c53e8bf942)

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

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

-- Commit Summary --

  * Remove custom css and large left margin for map noscript message

-- File Changes --

    M app/assets/stylesheets/common.scss (8)
    M app/views/layouts/map.html.erb (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list