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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to