[openstreetmap/openstreetmap-website] Fix whitespace in changeset element lists (PR #4570)
Anton Khorev
notifications at github.com
Mon Mar 11 19:50:29 UTC 2024
Whitespace at the start of a list item becomes significant when element icons are added using `::before` pseudoelement. You can see the extra space when elements with/without icons are next to each other. I'm removing unnecessary whitespace inside `<li>` here.
Before:

After:

You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4570
-- Commit Summary --
* Fix whitespace in changeset element lists
-- File Changes --
M app/views/changesets/show.html.erb (24)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4570.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4570.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4570
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4570 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240311/7bb63929/attachment.htm>
More information about the rails-dev
mailing list