Dropdown width nav menu

In the new nav menu I’ve inserted a dropdown. The width of the dropdown does not scale with the length of the items. What can I do about that?

nav nestable > dropdown > min width i think ?

I thougt that too, but no result

Strange. it works here. I can set the width 4 different places it looks like.

  1. Nav nestable (Structure panel) > Dropdown (elements-panel > content)
  2. Dropdown (Structure panel) > Content (elements-panel > content)
  3. Content (Structure panel) > Layout min-width (elements-panel > style)
  4. Nav link (Structure panel) > Layout min-width (elements-panel > style)

No 2 overwrites no 1, no 3 only works if 1 and 2 is not set and no 4 works somewhat halvways.

I’ve set the content min width at 300. However, I would had loved it to take automatically the width of the link text. That doesn’t seem possible.

Thanks for you suggestions! For now I’ll go with this.

Well in that case try typing in “max-content” in the min-width in the Nav nestable.
Skjermbilde

4 Likes

Great! That is exactly what I wanted. Thank you!

1 Like

Great!
That should’ve been a dropdown option. Didn’t know that one either. Thanks!

Thank you! This worked for me.