[openstreetmap/openstreetmap-website] Use svg default avatar image on webpages (PR #4671)
Anton Khorev
notifications at github.com
Tue Apr 9 12:44:54 UTC 2024
The svg file has a transparent background, which should help in dark mode by not being white and with a perception that [the space between the image and other things became smaller](https://github.com/openstreetmap/openstreetmap-website/pull/4667#issuecomment-2044173704).

with header PR merged:

`avatar_small.png` and `avatar_large.png` are still used in:
- emails
- Gravatar default image. Their docs don't say if svgs are supported.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4671
-- Commit Summary --
* Replace avatars.svg with avatar.svg
* Use avatar.svg on osm web pages
-- File Changes --
A app/assets/images/avatar.svg (6)
D app/assets/images/avatars.svg (182)
M app/helpers/user_helper.rb (8)
M test/helpers/user_helper_test.rb (12)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4671.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4671.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4671
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4671 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240409/a083f642/attachment.htm>
More information about the rails-dev
mailing list