Long user profile cards cut off badges

Hello,
Recently I found that people who have really long profile cards on mobile are actually cut off (for example the picture below the badges) @Qantas094 thanks :+1:

Is there anyway to truncate them?

Thanks.

7 Likes

Hi @ondrej - weโ€™ll see if we can make some tweaks to improve this. What device are you using there (so we can test on the right screen size)?

4 Likes

Sony Xperia xz: size = 5.20-inch touchscreen

1 Like

Iโ€™ve added some restrictions to mobile that will cap the maximum height of the user field section, makes the section scrollable if itโ€™s very long, and truncates each individual user field after 3 lines. So even on the tiniest devices (350x450) it should be somewhat difficult to get your card to overflow.

https://github.com/discourse/discourse/commit/cd5b7109d04722df5c39b2ded9fa4ead6c290ce4

10 Likes

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