brand icon indicating copy to clipboard operation
brand copied to clipboard

[Suggestion] Expand link area of `SubdomainNavBar`

Open simurai opened this issue 1 year ago • 0 comments

Problem

Currently when SubdomainNavBar would have enough space to show all links, it still hides them behind a "More" dropdown:

E.g. Storybook example

Image

Possible solution

It seem that the "link area" has a max-width (changes based on breakpoints). The reason might be to have more control, like there can be a search input or other actions on the right? But it might still be nice to give the link area as much space as available and not limit it if not necessary.

Urgency

This came up in this project (internal link). We found a workaround by removing the hardcoded max-width and adding flex: 1 to stretch the parent container.

So not too urgent, but might still be nice to look into for future use cases.

simurai avatar Jul 11 '24 01:07 simurai