[openstreetmap/openstreetmap-website] Set dir=auto on username in header (PR #5364)

Anton Khorev notifications at github.com
Mon Dec 2 08:37:57 UTC 2024


There's a problem with truncated usernames if their directionality doesn't match the ui. This PR fixes the current username in the header.

Before:
![image](https://github.com/user-attachments/assets/e19aa034-b6b1-48a2-8086-20b61a05b181)

After:
![image](https://github.com/user-attachments/assets/9d2dbceb-901f-4d59-a0e9-267f23d56cc9)

There's also a bigger issue #3428 and some stale pull requests trying to fix it.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5364

-- Commit Summary --

  * Set dir=auto on username in header

-- File Changes --

    M app/views/layouts/_header.html.erb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5364.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5364.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5364 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241202/00ef2c1d/attachment.htm>


More information about the rails-dev mailing list