AI-generated summary
Long categories/subcategories exceed the category selector box in the settings
A bug was reported where long category names exceed the category selector box, causing issues. awesomerobot provided a fix, but it was later reverted by joffreyjaffeux due to it breaking other menus. The reversion can be obtained by updating via yoursite.com/admin/upgrade, as mentioned by awesomerobot. Users, such as Canapin and Mark_Schmucker, have reported issues with the narrow category selector and have customized their CSS to make it wider.
Sure, maybe one for @awesomerobot
I’ve got a fix in here:
https://github.com/discourse/discourse/commit/f1ac3cf88811151a4205a357a544d54ab9e2a85b
I just encountered this on a client install, so
![]()
The list width is now equal to the current category name width, which cause slight issue:
Because of:
.select-kit.is-expanded .select-kit-body {
max-width: 100%;
}
If you have lots of long category names, you should be able to expand the width on your site via CSS.
In the current state, with “all categories”, the selector is very, very narrow, plus the number of topics reduces even more the category names length.
![]()
If you’ve selected a category with a few letters, it becomes a bit ridiculous. Here on meta:
I customized my CSS to make it wider, but I think this default behavior is a bit of an issue.
I’m reverting this. It’s breaking every menus. I will look at this next week, it’s not that easy, we have a lot of different kind of contents in dropdowns.
How do I get the reversion? Will there be a new version available at /admin?
This may be another manifestation of the same thing- managing users in a group:
If you go to yoursite.com/admin/upgrade you can update and it’ll be fixed



