Tatoeba / tatoeba2

Tatoeba is a platform whose purpose is to create a collaborative and open dataset of sentences and their translations.
https://tatoeba.org
GNU Affero General Public License v3.0
678 stars 131 forks source link

Sorting option text gets cut in advanced search dropdown menu #3126

Open Guybrush88 opened 2 months ago

Guybrush88 commented 2 months ago

To Reproduce Steps to reproduce the behavior:

  1. Set the UI language to Italian
  2. Select, in the order by word count dropdown menu, "prima le frasi con il minor numero di parole" (corresponding to the English "fewer words first"
  3. See that the message is truncated

Expected behavior The field should change automatically if the contained text takes a bigger space than expected, so that every part of the text can be read.

Screenshots (if applicable) Screenshot 2024-04-28 204503

jiru commented 2 months ago

It looks like you are suggesting to widen the closed dropdown, but won't that create a new glitch, which is having the closed dropdown overflow the search criteria pane?

Besides, if your browser window is exactly 960px wide, you will see there is not space to extend the dropdown: shot

Guybrush88 commented 2 months ago

I see now, I wasn't aware of these limitations, thanks for pointing them out