[openstreetmap/openstreetmap-website] Inline welcome sprite (PR #4843)

Anton Khorev notifications at github.com
Mon May 27 00:24:03 UTC 2024


In #4820 I sorted all sprites into groups. This pull request is the next step. Each sprite is a trivial svg used only in one place, therefore it's possible to inline it. That makes the sprite map in css unnecessary.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove reference to a missing filter
  * Remove invisible elements
  * Replace cubic bezier approximations of circles with circles
  * Remove vertical translation
  * Remove outer group
  * Group elements of check icon
  * Group elements of cross icon
  * Group elements of node icon
  * Group elements of way icon
  * Group elements of tag icon
  * Group elements of rules and questions icons
  * Decrease image width and height
  * Round node icon coordinate
  * Replace way icon path with line and circles
  * Inline welcome/fixthemap sprites

-- File Changes --

    D app/assets/images/welcome-sprite.svg (29)
    M app/assets/stylesheets/common.scss (39)
    M app/views/site/_any_questions.html.erb (5)
    M app/views/site/welcome.html.erb (38)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list