Link to a page where the issue can be seen: hidden link
I expected to see: Since there are a large number of pages and to avoid the pagination numbers pushing over the available page width, I have set the pagination to skip 20 pages and only show the first 5 pages.
Instead, I got: You will notice, when clicking on page 6, the pagination then displays the next 5 pages (ie. page 6 to 11). This makes the pagination area wider as it starts to display more pages (instead of skipping 20 pages). You will notice on my screenshot that as you move through the pages, the pagination eventually falls off the side of the page. This is especially on mobile but it seems to happen on larger screens on certain devices/browsers.
My issue is resolved now. Thank you!