[openstreetmap/openstreetmap-website] Truncate long usernames in blocks tables (PR #5087)
Tobias
notifications at github.com
Fri Aug 16 13:42:18 UTC 2024
@tordans commented on this pull request.
> <% end %>
<% if show_creator_name %>
- <td><%= link_to block.creator.display_name, block.creator %></td>
+ <td><%= link_to block.creator.display_name, block.creator, :class => "username d-inline-block text-truncate text-wrap" %></td>
I always like it when there is a title attribute on truncated stings so I have a quick way go see the whole thing. In this case maybe on the TD because that gives a bigger hover area.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5087#pullrequestreview-2242745875
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5087/review/2242745875 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240816/dfc31f9c/attachment-0001.htm>
More information about the rails-dev
mailing list