Skip to content

Commit cdc4779

Browse files
committed
fix(chat): use EMCN icon button target for attachments
1 parent 0059be1 commit cdc4779

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat

‎apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,12 +1093,13 @@ export function Chat() {
10931093
<Button
10941094
type='button'
10951095
variant='ghost'
1096+
size='icon'
10961097
aria-label='Attach file'
10971098
onClick={() => document.getElementById('floating-chat-file-input')?.click()}
10981099
disabled={
10991100
!activeWorkflowId || isExecuting || chatFiles.length >= MAX_CHAT_FILES
11001101
}
1101-
className='size-3.5 rounded-md p-0 focus-visible:ring-1 focus-visible:ring-[var(--text-muted)] disabled:opacity-50'
1102+
className='rounded-md focus-visible:ring-1 focus-visible:ring-[var(--text-muted)] disabled:opacity-50'
11021103
>
11031104
<Paperclip className='h-3.5! w-3.5!' />
11041105
</Button>

0 commit comments

Comments
 (0)