[openstreetmap/openstreetmap-website] Fix dropdown widths for RTL languages (#2527)

Andy Allan notifications at github.com
Mon Oct 17 10:22:46 UTC 2022


> Do you know why the menu rounding issue might still be occurring?

It's a fairly complex situation. Bootstrap 5 has moved to logical class names, but they still implement these with left/right css statements under the hood. You are then [expected to include the bootstrap-rtl variant](https://getbootstrap.com/docs/5.0/getting-started/rtl/) of their stylesheet, but [we use r2](https://github.com/openstreetmap/openstreetmap-website/issues/3433) instead.

I think they kept the left/right implementation for compatibility reasons in bootstrap 5, but I suspect they'll move to using the logical class names at some point in the future.

I would need to investigate further what is happening in this instance, which would then point the way forward. I'm not sure whether that will be changes to the CSS, switching r2 for the rtlcss version of bootstrap, or something else.

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

Message ID: <openstreetmap/openstreetmap-website/issues/2527/1280632646 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221017/9f0b62cb/attachment-0001.htm>


More information about the rails-dev mailing list