bbc / simorgh

The BBC's Open Source Web Application. Contributions welcome! Used on some of our biggest websites, e.g.

Home Page:https://www.bbc.com/thai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
Screenshot 2022-04-20 at 09 27 11

From this page - https://www.test.bbc.com/pidgin/new_topics/c2dwqd1q11qt
Screenshot 2022-04-20 at 09 27 46

We'd like to update the component so this doesn't happen.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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

Additional context
Add any other context about the problem here.