Odd staggered display of edit and create topic buttons when going from narrow to wide browser window

(Tobias Eigen) #1

I just noticed that the edit and create topic buttons are displayed in a wonky staggered way at two points when making hte browser window wider and narrower, as the buttons are supposed to push down to the next line. This is probably made worse by my long category names, but I think it’s a bug.

(Jeff Atwood) #2

Long category names should really be avoided. Perhaps the css could force a maximum length there on that first category with ellipsis?

And remember edit / create category is only available to staff, too.

(Jeff Atwood) #3

The CSS now enforces a maximum width on category badges, and they will be truncated with ellipsis if they get absurdly long.

It’s less of an issue now that the category appears under the title on the topic page, but it still causes a problem in a number of places in the UI if the category name is super mega giga long. I tried to get the main ones in the CSS, and I tested on desktop and mobile, so it should be much less of a problem now.