Dropdowns > Make fluid-width opt-in
Follows-up on !3384 (comment 1352998790).
We have recently made the dropdowns's width a bit more flexible by removing the fixed width in favor of a minimum and a maximum width.
In some cases, we might still want to prevent the dropdowns from auto-sizing themselves. E.g.:
Wrapping example | Disclosure example |
---|---|
![]() |
![]() |
Implementation plan
-
Restore the fixed width at 15.5rem
. This should be the default. -
The fluid layout 15.5rem <= width <= 28.5rem
can be opted in via a new prop.
Edited by Paul Gascou-Vaillancourt