[openstreetmap/openstreetmap-website] Truncate usernames in profile links (PR #4445)
Tom Hughes
notifications at github.com
Wed Jan 10 16:33:17 UTC 2024
@tomhughes commented on this pull request.
> @@ -50,6 +50,16 @@ def user_image_url(user, options = {})
end
end
+ def truncated_user_link(user, **options)
+ classes = %w[d-inline-block align-bottom text-truncate]
+ if options[:width]
+ style = "max-width: #{options[:width]}"
They aren't...
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4445#discussion_r1447633283
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4445/review/1813638016 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240110/622efb01/attachment.htm>
More information about the rails-dev
mailing list