Usernames truncated, ellipsis shown

AI-generated summary

A user aschrijver reported that usernames on community.humanetech.com are being truncated with ellipses, showing only 1–3 characters even on desktop browsers with ample space. The issue was traced to a custom CSS rule (width: 65px;) in the .topic-meta-data class. tshenry confirmed this was likely due to a recent Discourse core update and noted the conflicting custom CSS. aschrijver thanked tshenry and confirmed they would remove the problematic CSS rule, noting the customization was previously hidden and possibly added during forum setup. The fix restores full username display.

I noticed as of today a change to community.humanetech.com where the username is no longer displayed fully, but truncated and ellipsis are shown. Depending whether I look on mobile or in the browser (both latest FF) only 1 to 3 characters are displayed.

I also looked whether some other admin changed some styles or anything, but that does not seem the case.

Here is an example of how this looks (this on FF 61):

humanetech-forum-usernames-truncated

This is taken from a post within a topic, where the browser was fullscreen (plenty of space for username)

Edit: If I switch off the width: 65px; in CSS class .topic-meta-data, then the display is as expected.

Ah yeah, there was a recent change:

https://github.com/discourse/discourse/commit/8cff3c9bbc7428011f7d83f5e5dd73abb684d995

Looks like you found the conflicting line in your custom CSS :+1:

7 Likes

Thank you @tshenry!

I just now found the customizations. They were a bit hidden. At first glance it seemed we wer just using the Default theme. Don’t know if they were created by Discourse, or by one of our admins at the time of forum creation.

But I will get rid of that width clause. Thanks again!

5 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.