[openstreetmap/openstreetmap-website] Add previous/next page arrows to newer/older pagination (PR #4490)

Anton Khorev notifications at github.com
Sat Jan 20 03:15:35 UTC 2024


For [traces](https://www.openstreetmap.org/traces), [diaries](https://www.openstreetmap.org/diary) and comments pages.

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/8179a191-8928-498a-b58f-fd06e555365c)

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/5534d6e4-ac27-40dd-97dc-d776eb1ddd21)

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/70c706fe-922e-412a-a9a2-dfa1541cb09c)

Arrows are not displayed on extra small screen sizes because they can make things worse.

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/f2811fcd-375e-49dd-892c-c8f95d9faaa1)

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

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

-- Commit Summary --

  * Add previous/next page arrows to newer/older pagination

-- File Changes --

    M app/helpers/svg_helper.rb (19)
    M app/views/shared/_pagination.html.erb (25)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/4490 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240119/9c1961c4/attachment.htm>


More information about the rails-dev mailing list