1 parent 916a355 commit ece9f2fCopy full SHA for ece9f2f
1 file changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx
@@ -138,11 +138,12 @@ function ChatFilePreview({ file, onRemove }: ChatFilePreviewProps) {
138
<Button
139
aria-label='Remove file'
140
variant='ghost'
141
+ size='icon'
142
onClick={(event) => {
143
event.stopPropagation()
144
onRemove(file.id)
145
}}
- className='absolute top-0.5 right-0.5 size-4 p-0 opacity-0 transition-opacity group-hover:opacity-100'
146
+ className='absolute top-0.5 right-0.5 opacity-0 transition-opacity focus-visible:opacity-100 group-hover:opacity-100'
147
>
148
<X className='size-2.5' />
149
</Button>
0 commit comments