mirror of https://github.com/langgenius/dify.git
fix: chat input file list remove button style
This commit is contained in:
parent
faec1c50f9
commit
9f492d527a
|
|
@ -135,11 +135,11 @@ const ChatInputArea = ({
|
|||
<>
|
||||
<div
|
||||
className={cn(
|
||||
'relative py-[9px] bg-components-panel-bg-blur border border-components-chat-input-border rounded-xl shadow-md z-10',
|
||||
'relative pb-[9px] bg-components-panel-bg-blur border border-components-chat-input-border rounded-xl shadow-md z-10',
|
||||
isDragActive && 'border border-dashed border-components-option-card-option-selected-border',
|
||||
)}
|
||||
>
|
||||
<div className='relative px-[9px] max-h-[158px] overflow-x-hidden overflow-y-auto'>
|
||||
<div className='relative px-[9px] pt-[9px] max-h-[158px] overflow-x-hidden overflow-y-auto'>
|
||||
<FileListInChatInput fileConfig={visionConfig!} />
|
||||
<div
|
||||
ref={wrapperRef}
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ const ImagePreview: FC<ImagePreviewProps> = ({
|
|||
<RiAddBoxLine className='w-4 h-4 text-gray-500'/>
|
||||
</div>
|
||||
</Tooltip>
|
||||
<Tooltip popupContent={t('common.operation.close')}>
|
||||
<Tooltip popupContent={t('common.operation.cancel')}>
|
||||
<div
|
||||
className='absolute top-6 right-6 flex items-center justify-center w-8 h-8 bg-white/8 rounded-lg backdrop-blur-[2px] cursor-pointer'
|
||||
onClick={onCancel}>
|
||||
|
|
|
|||
|
|
@ -38,6 +38,10 @@ const translation = {
|
|||
duplicate: 'Duplicate',
|
||||
rename: 'Rename',
|
||||
audioSourceUnavailable: 'AudioSource is unavailable',
|
||||
copyImage: 'Copy Image',
|
||||
zoomOut: 'Zoom Out',
|
||||
zoomIn: 'Zoom In',
|
||||
openInNewTab: 'Open in new tab',
|
||||
},
|
||||
errorMsg: {
|
||||
fieldRequired: '{{field}} is required',
|
||||
|
|
|
|||
|
|
@ -38,6 +38,10 @@ const translation = {
|
|||
duplicate: '复制',
|
||||
rename: '重命名',
|
||||
audioSourceUnavailable: '音源不可用',
|
||||
copyImage: '复制图片',
|
||||
zoomOut: '缩小',
|
||||
zoomIn: '放大',
|
||||
openInNewTab: '在新标签页打开',
|
||||
},
|
||||
errorMsg: {
|
||||
fieldRequired: '{{field}} 为必填项',
|
||||
|
|
|
|||
Loading…
Reference in New Issue