arXiv / arxiv-search

arXiv Search UI & APIs
https://arxiv.github.io/arxiv-search/
MIT License
96 stars 15 forks source link

Scalability of search site with no results #307

Open mbiesiad opened 2 years ago

mbiesiad commented 2 years ago

Describe the bug It looks like search site with no results (and typed long word) needs a little bit improvement for scalability. See details and screenshots below.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://arxiv.org/search/
  2. Use 'Search term...' field, type there quite long word, example: Taumata­whakatangihanga­koauau­o­tamatea­turi­pukaka­piki­maunga­horo­nuku­pokai­whenua­ki­tana­tahu
  3. Change browser window size to the smallest (it's OK)
  4. Use 'Search term...' field, type there quite long word, example: Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu
  5. Change browser window size to the smallest
  6. See the issue

Expected behavior Search site still looks and works fine.

Screenshots Result from Repro step nr. 3 (it's fine): image

Result from Repro step nr. 5 (issue): image

In this case, can't read the content (no scalability and no horizontal sliders).

Desktop:

Additional context Source for Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu and Taumata­whakatangihanga­koauau­o­tamatea­turi­pukaka­piki­maunga­horo­nuku­pokai­whenua­ki­tana­tahu: https://en.wikipedia.org/wiki/Taumatawhakatangi%C2%ADhangakoauauotamatea%C2%ADturipukakapikimaunga%C2%ADhoronukupokaiwhen%C2%ADuakitanatahu

Best wishes,