In a UX-focused discussion on breadcrumb navigation styling, awesomerobot proposed moving away from button-styled dropdowns to lighter, input-like designs to reduce visual weight—especially on mobile—and improve consistency with composer dropdowns. codinghorror supported this, noting the open box visually suggests interactivity. The change was implemented in 2.2 awesomerobot, though jomaxro noted inconsistent styling across buttons (grey), dropdowns (white), and active states (red), which HAWK defended as semantically logical. codinghorror flagged that mobile nav was initially missed, later fixed by awesomerobot. tshenry reported a text cutoff issue in Safari/Chrome due to line-height: 1 and overflow: hidden, suggesting padding adjustments. awesomerobot resolved it by removing line-height: 1 and adjusting padding. awesomerobot held off on applying the style to topic list nav dropdowns, citing their close association with buttons. codinghorror emphasized that the open-box style is most appropriate for dropdowns that accept typed input.
At the moment our breadcrumb nav dropdowns are styled as buttons… when we have category + subcategoy + tags our top bar can start feeling pretty heavy and gray (especially on mobile).
This is also a bit inconsistent of how we treat category dropdowns in the composer (and elsewhere). It’s a special case, but are we gaining anything from using the different style? Should we remove the background color to lighten things up and simplify?
There’s also the benefit of avoiding situations where a category color works OK on the main background color… but is kind of broken in the button.
Perhaps I just need to get used to it, but the New Topic (and edit and notification state if applicable) are still grey. We now have 3 styles, white box with black outline, red box with no outline, and grey box with no outline. Something just seems off.
I made a comment on GitHub about this, but it’s probably better to post it here. There is a cutoff issue that is still present on Safari and Chrome. You can see an example here with the letter “g” in the select-kit boxes for category and subcategory:
Moving the padding from the first selector mentioned above to the second will break the tags dropdown, but adding it to .category-name seems to be fine.
If you want I can make a PR, but just wanted to make sure this doesn’t break any conventions that are in place.
Text should no longer be cut off, I went a bit more extreme than your suggestions and ended up removing the line-height: 1 from those category dropdowns and removed padding to compensate for the increased line-height. line-height: 1 combined with overflow: hidden is just a recipe for eventual problems.
Ah right, I did the category dropdowns but not the mobile nav for latest/new/top — just updated it.
On the fence about some other dropdowns in the topic list nav… they’re technically dropdowns, but always immediately associated with other buttons. Going to hold off on those for now and revisit.