Fix pagination (#979)
### Prerequisites
Put an `x` into the box(es) that apply:
- [x] This pull request fixes a bug.
- [ ] This pull request adds a feature.
- [ ] This pull request introduces breaking change.
### Description
| Before | After |
|-------------------|-------------------|
| <img width="370" height="93" alt="PixelSnap 2025-07-18 at 19 56 00@2x"
src="https://github.com/user-attachments/assets/d727e71b-3024-4ead-8f72-4ff2687b9f50"
/> | <img width="434" height="28" alt="PixelSnap 2025-07-18 at 19 56
16@2x"
src="https://github.com/user-attachments/assets/67fa4717-5825-4bf5-87bc-6420429c125b"
/> |
### Issues Resolved
List any existing issues this pull request resolves.
### Checklist
Put an `x` into the box(es) that apply:
#### General
- [ ] Describe what changes are being made
- [ ] Explain why and how the changes were necessary and implemented
respectively
- [ ] Reference issue with `#<ISSUE_NO>` if applicable
#### Resources
- [ ] If you have changed any SCSS code, run `make release` to
regenerate all CSS files
This resulted in a substantial number of seemingly unrelated changes.
#### Contributors
- [ ] Add yourself to `CONTRIBUTORS.md` if you aren't on it already
Co-authored-by: Luiz F. A. de PrĂ¡ <luizdepra@users.noreply.github.com>