Long categories / subcategories exceed the category selector box in the settings

2 Likes

Sure, maybe one for @awesomerobot

I’ve got a fix in here:

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

3 Likes

I just encountered this on a client install, so

:raised_hands:

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%;
}
1 Like

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.

image

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.

1 Like

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.

3 Likes

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:

image

2 Likes

If you go to yoursite.com/admin/upgrade you can update and it’ll be fixed

2 Likes