[openstreetmap/openstreetmap-website] Set layer button size in rems (PR #5067)

Anton Khorev notifications at github.com
Mon Aug 12 00:49:08 UTC 2024


Probably fixes #5066.

Before:

150% zoom / 150% text-only zoom:
![image](https://github.com/user-attachments/assets/f50fb1f9-c85a-40e0-bf19-ecea253f481d) ![image](https://github.com/user-attachments/assets/401a3a53-4ace-4a70-9661-d2793be8f481)

After:

150% zoom / 150% text-only zoom:
![image](https://github.com/user-attachments/assets/134efc24-e3ac-4607-a0a2-4092bf626124) ![image](https://github.com/user-attachments/assets/809bd85a-02e1-4c6f-ab41-8408e5261923)

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

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

-- Commit Summary --

  * Set layer button size in rems
  * Use content box sizing instead of negative margins

-- File Changes --

    M app/assets/javascripts/leaflet.layers.js (2)
    M app/assets/stylesheets/common.scss (5)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list