Pagination unnecessary ellipsis
gavinspence opened this issue · comments
Describe the bug
For some combinations of page items & screen sizes, we are rendering an unnecessary ellipsis where we could just show a number in it's place.
From this page - https://www.test.bbc.com/pidgin/new_topics/c1gdqg448w1t
From this page - https://www.test.bbc.com/pidgin/new_topics/c2dwqd1q11qt
We'd like to update the component so this doesn't happen.
To Reproduce
Steps to reproduce the behaviour:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behaviour
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Testing notes
- This bug fix is expected to need manual testing.
Checklist
- (BBC contributors only) This issue follows the repository use guidelines
Additional context
Add any other context about the problem here.