Open bia opened 5 years ago
It does look a little funny if the drop down is smaller than the button. 👍
The reverse (case 1 above), feels quite natural though I think.
I agree that case 1 is not as bad as case 2, but I'd rather everything just behave the same way. Plus there's usually quite a bit of empty space towards the center of the search bar to expand the width of the 'Filter' button into.
We could make the default width a bit larger. But too big and it looks a bit funny too?
I'd still avoid clamping the width of the dropdown items, unless you mean expanding the width of the button to be as wide as the largest item in the list?
unless you mean expanding the width of the button to be as wide as the largest item in the list?
Hmmm - sounds complicated. Let's limit this issue to widening the content to fit the width of the button for now and address case 1 later.
An extension of #432, it looks strange when the width of the dropdown container is not the same as the button which pops it out. ~We might also have to choose a minimum width that's a little bit larger than what we have now.~ (let's address possibly narrowing the content in a later issue)
cc @fbarl