dff1e8d1a7ed7d26f1bb95dbce1a5843d3b9d386
The shadcn template ships SelectTrigger with 'w-fit' so the control sizes to its content. That works for headless toolbar pickers but in our forms the Select sits in a grid column next to Inputs of the same row — the 'w-fit' behaviour made labs/patients/products dropdowns visibly narrower than their neighbouring fields. Switched the trigger default to 'w-full' so column layouts stay tidy; anything that genuinely wants content-width can still override via className. Also fixed SelectContent: the Radix portal was capped at 'min-w-[8rem]' which can be narrower than the trigger and the popper would dock to that fixed 128px rather than the field. Replaced with 'min-w-[var(--radix-select-trigger-width)]' so the dropdown is always at least as wide as the field it dropped from.
Description
No description provided
Languages
TypeScript
99.2%
CSS
0.7%