main ← ux-read-only-one
opened 05:41PM - 03 Feb 26 UTC
Reported here: https://meta.discourse.org/t/parent-category-should-not-have-read…-only-badge-if-subcategory-is-read-only/394943
We don't need to double-render this badge, especially because doing so is sometimes inaccurate (possible to have a read-only subcategory and a parent you can post in).
This only passes read-only to the actual category, not all ancestors.
I've also taken the opportunity to reduce the badge height slightly.
Before:
<img width="400" alt="image" src="https://github.com/user-attachments/assets/30e902ba-91e5-46f1-afec-fee48f32101e" />
After:
<img width="400" alt="image" src="https://github.com/user-attachments/assets/0d28e980-1b79-4d74-b198-a78d30605c9e" />