[openstreetmap/openstreetmap-website] Always show changeset element page links below headings (PR #5213)
Anton Khorev
notifications at github.com
Sat Sep 14 14:23:08 UTC 2024
What I tried to achieve previously was to save space. If the page links fit to the right of the heading, let them be there.
But this works fine only with full sidebar reloads. With turbo frame reloads it's more noticeable when the links become wider, don't fit and move below the heading. Here I'm making them always be below.
Before:


After:


You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5213
-- Commit Summary --
* Always show changeset element page links below headings
-- File Changes --
M app/helpers/browse_helper.rb (2)
M app/views/changesets/_paging_nav.html.erb (20)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5213.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5213.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5213
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5213 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240914/bf79c144/attachment.htm>
More information about the rails-dev
mailing list