Skip to content

Commit 28853d4

Browse files
committed
improvement(output-select): ui
1 parent e707653 commit 28853d4

File tree

1 file changed

+4
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/components/output-select

1 file changed

+4
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/components/output-select/output-select.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,13 +331,16 @@ export function OutputSelect({
331331
return (
332332
<Combobox
333333
size='sm'
334-
className='!w-fit !py-[2px] [&>svg]:!ml-[4px] [&>svg]:!h-3 [&>svg]:!w-3 [&>span]:!text-[var(--text-secondary)] min-w-[100px] rounded-[6px] bg-transparent px-[9px] hover:bg-[var(--surface-5)] dark:hover:border-[var(--surface-6)] dark:hover:bg-transparent [&>span]:text-center'
334+
className='!w-fit !py-[2px] min-w-[100px] rounded-[6px] px-[9px]'
335335
groups={comboboxGroups}
336336
options={[]}
337337
multiSelect
338338
multiSelectValues={normalizedSelectedValues}
339339
onMultiSelectChange={onOutputSelect}
340340
placeholder={selectedDisplayText}
341+
overlayContent={
342+
<span className='truncate text-[var(--text-primary)]'>{selectedDisplayText}</span>
343+
}
341344
disabled={disabled || workflowOutputs.length === 0}
342345
align={align}
343346
maxHeight={maxHeight}

0 commit comments

Comments
 (0)