From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/base/file-uploader/file-uploader-in-attachment/index.tsx | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/components/base/file-uploader/file-uploader-in-attachment/index.tsx b/app/components/base/file-uploader/file-uploader-in-attachment/index.tsx
index ab4e2aa..3978de1 100644
--- a/app/components/base/file-uploader/file-uploader-in-attachment/index.tsx
+++ b/app/components/base/file-uploader/file-uploader-in-attachment/index.tsx
@@ -23,7 +23,7 @@
type Option = {
value: string
label: string
- icon: React.JSX.Element
+ icon: JSX.Element
}
type FileUploaderInAttachmentProps = {
fileConfig: FileUpload
@@ -41,12 +41,12 @@
{
value: TransferMethod.local_file,
label: t('common.fileUploader.uploadFromComputer'),
- icon: <RiUploadCloud2Line className='h-4 w-4' />,
+ icon: <RiUploadCloud2Line className='w-4 h-4' />,
},
{
value: TransferMethod.remote_url,
label: t('common.fileUploader.pasteFileLink'),
- icon: <RiLink className='h-4 w-4' />,
+ icon: <RiLink className='w-4 h-4' />,
},
]
@@ -55,7 +55,7 @@
<Button
key={option.value}
variant='tertiary'
- className={cn('relative grow', open && 'bg-components-button-tertiary-bg-hover')}
+ className={cn('grow relative', open && 'bg-components-button-tertiary-bg-hover')}
disabled={!!(fileConfig.number_limits && files.length >= fileConfig.number_limits)}
>
{option.icon}
--
Gitblit v1.8.0