XF 2.2 best way to deal with long usernames

Mr Lucky

Well-known member
I noticed that usernames just look wrong when they are too long and so get wrapped after x characters.

e.g.

Screenshot 2020-10-13 at 12.25.13.webp

I'm not too optimistic but apart from telling users to use shorter names or names with spaces, is there anything to make this behave better? Widening the user info block isn't an ideal solution, we'll be forever chasing usernames such as Donaudampfschifffahrtselektrizitätenhauptbetriebswerkbauunterbeamtengesellschaft
 
1690835428005.webp

Wanted to bump this, as we are finding the same issues. Without lowering the username size across the board - is there anyway to target just the usernames that are longer than the post bit to auto-size through css to a smaller font size? I tried

text-size-adjust: auto;
white-space: nowrap;

with no success. Or any other solutions?
 
Top Bottom