Commit Graph

2 Commits

Author SHA1 Message Date
Kalle
6a3ec6a654 Various small bug fixes
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-06-08 22:04:43 +03:00
Kalle
945544153a Fix lonely page number display at pagination edges
On the first page the mobile window was currentPage ± 1, i.e. {0, 1, 2}.
The 0 clamped away leaving only page 2 before a jump straight to the
last page, so page 1 of 8 rendered as "1 2 ... 8" with no bridging
number (and the last page had the same issue mirrored).

Nudge the window inward by one when the current page is the very first
or last page so these render "1 2 3 ... 8" / "1 ... 6 7 8" instead.
2026-06-07 21:34:21 +03:00