[openstreetmap/openstreetmap-website] Crop white background from browse highway icons (PR #4698)

Anton Khorev notifications at github.com
Sat Apr 13 17:04:05 UTC 2024


Highway element icons on changeset pages sometimes have white background parts. They become visible in dark mode. This PR crops icons to remove those parts.

Before:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/bc63c4c0-cc03-424b-9c86-ed7d835add12)

After:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/dc5c6f2c-340c-43a9-8ac8-66e2d154b30a)

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

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

-- Commit Summary --

  * Crop white background from browse highway icons

-- File Changes --

    M app/assets/images/browse/motorway.20.png (0)
    M app/assets/images/browse/primary.20.png (0)
    M app/assets/images/browse/secondary.20.png (0)
    M app/assets/images/browse/tertiary.20.png (0)
    M app/assets/images/browse/trunk.20.png (0)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list