[openstreetmap/openstreetmap-website] Truncate usernames in block navigation tabs (PR #5366)

Anton Khorev notifications at github.com
Mon Dec 2 09:30:49 UTC 2024


Draft, need to check if it's possible to do without wrapping usernames in spans first.

Before:
![image](https://github.com/user-attachments/assets/9c7d4782-8031-4114-adc3-2ab38fc59b7f)

After:
![image](https://github.com/user-attachments/assets/be8ed423-c1c2-4ffc-bcef-bc12500517d7)

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Truncate usernames in block navigation tabs

-- File Changes --

    M app/assets/stylesheets/common.scss (6)
    M app/views/user_blocks/_navigation.html.erb (4)
    M config/locales/en.yml (4)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list