Merge pull request #34 from ArnasDon/fix/builder-dropdown-width

fix(automations): widen step-picker dropdown so labels don't wrap
This commit is contained in:
Arnas Donauskas 2026-04-17 21:19:04 +03:00 committed by GitHub
commit bd62322da4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -651,7 +651,10 @@ function AddButton({ onPick }: { onPick: (t: AutomationStepType) => void }) {
>
<Plus className="h-4 w-4" />
</DropdownMenuTrigger>
<DropdownMenuContent className="max-h-80 overflow-y-auto border-slate-700 bg-slate-900">
<DropdownMenuContent
align="start"
className="max-h-80 min-w-56 overflow-y-auto border-slate-700 bg-slate-900"
>
{ADDABLE_STEPS.map((t) => {
const Icon = STEP_META[t].icon
return (