[openstreetmap/openstreetmap-website] Bootstrap pagination in changeset pages for nodes/ways/relations (PR #4272)

Anton Khorev notifications at github.com
Tue Oct 3 16:35:21 UTC 2023


for sidebars of `/changeset/<id>` pages

when narrow enough:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/4b26bcd9-8ea5-442e-a422-3666c93c826e)

when wider:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/c1b9cbd4-f29d-4b13-a767-f0bb40eb854a)

when really wide, with decreased padding:
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/2c07084c-b658-4df7-bf66-4c54f0d86fa1)


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

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

-- Commit Summary --

  * Add Bootstrap styling to changeset node/way/relation page links
  * Highlight current changeset node/way/relation page
  * Adjust sizes of changeset element headers/pagination
  * Remove border css class used by previous version of paginator
  * Move bootstrap pagination list wrapper to template
  * Separate pagination item computation and output
  * Shorten padding on page items if they are too wide

-- File Changes --

    M app/assets/stylesheets/common.scss (4)
    M app/views/browse/_paging_nav.html.erb (41)
    M lib/classic_pagination/pagination_helper.rb (34)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/4272 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231003/7a2a2972/attachment-0001.htm>


More information about the rails-dev mailing list