diff --git a/NEWS b/NEWS index 85f4cc9..bf44e3d 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,11 @@ UNRELEASED ``.information`` styling out of an inline ``style=`` attribute into ``diff.css``. (Jelmer Vernooij, #449980) + - Also render the Newer/Older pagination controls above the + changelog table, not only below it, so users don't have to + scroll past the full page to navigate. (Jelmer Vernooij, + #522118) + 3.0.0 [22Apr2026] ----------------- diff --git a/static/css/global.css b/static/css/global.css index 192892e..cbfc713 100644 --- a/static/css/global.css +++ b/static/css/global.css @@ -297,10 +297,21 @@ li.files#directory { /* ========================= Pagination */ -ul#pages { +ul#pages, +ul.pages { float: right; + list-style: none; + padding: 0; + } +/* The top copy sits on its own line above the table so the + controls don't collide with the expand/collapse row + (bug #522118). */ +ul.pages-top { + clear: both; + margin-bottom: 4px; } -#pages li { +#pages li, +.pages li { font-size: 77%; font-weight: bold; float: left; diff --git a/templates/changelog.html b/templates/changelog.html index bfcf287..5462feb 100644 --- a/templates/changelog.html +++ b/templates/changelog.html @@ -32,6 +32,19 @@
+{% if prev_page_url.is_some() || next_page_url.is_some() %} +| Rev |
|---|