This is related to the feature Wishlist: visual cue for "user got a badge for this post" .
In the desktop view, the badges display after the username and title:
However, on mobile, the badges display before the username, creating a misaligned look because the username and title don’t start in the same place:
Safe mode doesn’t change anything. Personally, I would prefer the mobile view to look similar to the desktop view, where the badges display after the name.
4 Likes
pmusaraj
(Penar Musaraj)
January 8, 2025, 8:52pm
2
Sounds reasonable to have mobile match desktop, what do you think @pento (as the author of the feature)?
3 Likes
pento
(Gary)
January 8, 2025, 10:34pm
3
Thank you for the bug report, @MatthewL246 !
I agree that does look a bit janky, I’ll see what I can do to tidy it up.
4 Likes
pento
(Gary)
January 9, 2025, 6:28am
5
I’ve merged a fix for this, please let us know if you run into any further issues with it, @MatthewL246 !
discourse:main
← discourse:pento/fix-user-badge-alignment-mobile
opened 04:53AM - 09 Jan 25 UTC
## ✨ What's This?
Reported on [meta](https://meta.discourse.org/t/badges-in-p… osts-look-misaligned-on-mobile/346054).
Due to more explicit CSS flex arrangement on mobile devices, user badges were being shoved out of alignment. This PR nudges them back into line.
## 📺 Screenshots
![](https://github.com/user-attachments/assets/c432ea80-18ae-4811-8ab2-b545bccd9e05)
## 👑 Testing
Test on additional mobile device sizes, check that user badges are correctly aligned.
2 Likes