[openstreetmap/openstreetmap-website] Use a bootstrap dropdown for language selection (PR #6103)

Anton Khorev notifications at github.com
Mon Jun 16 08:35:18 UTC 2025


AntonKhorev left a comment (openstreetmap/openstreetmap-website#6103)

I tried using Bootstrap dropdown for this months ago. Results are significantly worse.

Your small screen is not small enough, and browser dev tools make it look larger by not showing parts of the screen space taken by various ui elements on an actual phone.

This is how a native `<select>` looks like:
![Screenshot_20250616-112502](https://github.com/user-attachments/assets/0189c373-fed2-48af-84b8-5fcd2a737ce4)

This is Bootstrap, with the dropdown not fitting on the screen:
![Screenshot_20250616-112646](https://github.com/user-attachments/assets/a302ee71-2ea7-4861-9b9d-8ce3b824f58c)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6103#issuecomment-2975591949
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6103/c2975591949 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250616/b2f75dfb/attachment.htm>


More information about the rails-dev mailing list