# Breadcrumb nav style; less button more input?

**URL:** https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655
**Category:** UX
**Created:** [September 7, 2018, 4:13pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655 "2018-09-07T16:13:22Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [September 7, 2018, 4:13pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/1 "2018-09-07T16:13:22Z")

</div>

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. 👉

 ![12%20PM](https://global.discourse-cdn.com/meta/original/3X/8/1/81fbc69e9bb2a36eb6e0fd9eb7c6d6a3e62f8863.png)

 ![28%20PM](https://global.discourse-cdn.com/meta/original/3X/2/6/267fc82f800edab1605192eceac36a4f39058364.png) ![18%20PM](https://global.discourse-cdn.com/meta/original/3X/c/b/cb0249fab59b39cb6184e87a1e2f5b7ecf19cf81.png)

 ![31%20AM](https://global.discourse-cdn.com/meta/original/3X/6/8/68ebe071b565bf7cdcbe0c59d8aef2bc5fa8fe83.png)

 ![14%20AM](https://global.discourse-cdn.com/meta/original/3X/c/0/c0223c0d63e7b310e6cea9f00cf8139878c90975.png)

---

<div class="post-metadata">

### Author: ![nothing](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nothing/32/95750_2.png) [@nothing](https://meta.discourse.org/u/nothing)
#### Post date: [September 7, 2018, 7:55pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/2 "2018-09-07T19:55:05Z")

</div>

My idea.

![](https://global.discourse-cdn.com/meta/original/3X/9/e/9ede0f3bffb8acccf7d0bb64ec3fed26db884fdd.png)

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [September 7, 2018, 8:49pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/3 "2018-09-07T20:49:09Z")

</div>

I still ❤ this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/b/1b708a0763461542db2270ffdc9694f33838f3e9.png)

but I don’t like this (too heavy):

 ![Screenshot_20180907-224447](https://global.discourse-cdn.com/meta/original/3X/5/b/5b35ac202fd39aceb4efc603aaef775b6a79840d.jpeg)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 8, 2018, 12:04am UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/4 "2018-09-08T00:04:00Z")

</div>

I like this, and the open box implies “I can type there”, which you kind of can?

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/4/645efd7c35826dd5b46dbdaa0e286cb0d56c5d53.png)

So it is both visually and semantically better, I say go for it in 2.2

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [September 18, 2018, 6:39pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/5 "2018-09-18T18:39:43Z")

</div>

This change is live now

 ![01%20PM](https://global.discourse-cdn.com/meta/original/3X/5/a/5a89974b1d8db0df5d5b105bdf41910c64d32184.png)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 18, 2018, 7:02pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/6 "2018-09-18T19:02:00Z")

</div>

Looking good!

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.

![image](https://global.discourse-cdn.com/meta/original/3X/8/9/89b8be7f54310763a2b8ceeacd214d3446e61723.png)

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [September 18, 2018, 7:08pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/7 "2018-09-18T19:08:29Z")

</div>

> [@jomaxro](#):
>
> We now have 3 styles, white box with black outline, red box with no outline, and grey box with no outline.

This makes sense though.  
Buttons are grey, drop-downs are white and the current state is red.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 27, 2018, 5:57pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/8 "2018-09-27T17:57:10Z")

</div>

I noticed we did not apply this change to mobile yet @awesomerobot? That feels like an oversight?

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [September 27, 2018, 10:39pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/9 "2018-09-27T22:39:24Z")

</div>

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:

[https://meta.discourse.org/c/plugin/voting](https://meta.discourse.org/c/plugin/voting)

![45934750-33fbcc80-bf57-11e8-86be-e8d4b12aa3e6](https://global.discourse-cdn.com/meta/original/3X/b/6/b6024cb14582e86cc36ade1ce882144d1b06a040.png)

Right now there is `padding: 1px 0;` on:

`.select-kit .select-kit-header .selected-name`

What seems to do the trick is to also add that padding to:

`.select-kit .select-kit-header .selected-name .category-name`

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.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [October 1, 2018, 4:49pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/11 "2018-10-01T16:49:21Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [October 1, 2018, 6:53pm UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/12 "2018-10-01T18:53:30Z")

</div>

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.

 ![16%20PM](https://global.discourse-cdn.com/meta/original/3X/b/2/b2d8144ca0895da247800f935af84955ad88d0fc.png)  
 ![25%20PM](https://global.discourse-cdn.com/meta/original/3X/c/f/cf4ea202028b77cb58584e33f62cf0bdac384262.png)  
 ![56%20PM](https://global.discourse-cdn.com/meta/original/3X/0/1/01c8b46121356f31f5a52b80862e39f75c6797e8.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 2, 2018, 12:37am UTC](https://meta.discourse.org/t/breadcrumb-nav-style-less-button-more-input/96655/13 "2018-10-02T00:37:20Z")

</div>

> [@awesomerobot](#):
>
> they’re technically dropdowns

It is the “dropdown that allows entry of search text” case where I feel the design cue of clear box is strongest.
