Admin button not always appears when I am on "category"

AI-generated summary

The admin button does not always appear when a user is on the “category” page. dax found that the button appears consistently when there are no subcategories or only one subcategory, but never appears when there are multiple subcategories. simon confirmed the issue and attributed it to the #bulk-select wrench having position: fixed with no value set for top, causing it to be off the screen when subcategories have logo images.

A possible solution is to give the list area position: relative so that the bulk-select wrench can be given position: absolute relative to the topic list. dax applied this fix in the admin CSS/HTML and also adjusted the z-index to keep the wrench under the header when scrolling. However, this fix causes the wrench to remain at the top of the page when scrolling, requiring users to scroll back up to access it.

When I click here

and I am on “Latest”, I can see the admin button on the right:

When I tried the same thing and I am on “Category” it not appears always.

  • category without sub-category the button always appears
  • category with only one sub-category, it always appears
  • category with more than one sub-category, it never appears

Just update on 1.5.0.beta5.

Is it only my problem?

Yes it happens for me when ‘Show subcategory list instead of topic list when entering a category’ is selected and the subcategories have logo images. The #bulk-select wrench has position: fixed with no value set for top, so it gets fixed in a position that is off the screen.

A possible solution is to give the list area position: relative so that the bulk-select wrench can be given position: absolute relative to the topic list.

Thanks @simon, infact all categories and sub-categories have images.

I’ll do that in admin > css/html.
I think this minor bug can be fixed by Discourse Team.

Done.
I change z-index too so when I scroll down the page, the wrench stay under the header.
The only “problem” changing position is that the wrench stay on the top when you scroll down the page, so if you have to admin a lot of topics you have to scroll up the page to find the wrench.
Boring, but that is something at least.