From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/app/annotation/add-annotation-modal/edit-item/index.tsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/app/annotation/add-annotation-modal/edit-item/index.tsx b/app/components/app/annotation/add-annotation-modal/edit-item/index.tsx index 4c118c6..032e4b8 100644 --- a/app/components/app/annotation/add-annotation-modal/edit-item/index.tsx +++ b/app/components/app/annotation/add-annotation-modal/edit-item/index.tsx @@ -21,17 +21,17 @@ onChange, }) => { const { t } = useTranslation() - const avatar = type === EditItemType.Query ? <User className='h-6 w-6' /> : <Robot className='h-6 w-6' /> + const avatar = type === EditItemType.Query ? <User className='w-6 h-6' /> : <Robot className='w-6 h-6' /> const name = type === EditItemType.Query ? t('appAnnotation.addModal.queryName') : t('appAnnotation.addModal.answerName') const placeholder = type === EditItemType.Query ? t('appAnnotation.addModal.queryPlaceholder') : t('appAnnotation.addModal.answerPlaceholder') return ( <div className='flex' onClick={e => e.stopPropagation()}> - <div className='mr-3 shrink-0'> + <div className='shrink-0 mr-3'> {avatar} </div> <div className='grow'> - <div className='system-xs-semibold mb-1 text-text-primary'>{name}</div> + <div className='mb-1 system-xs-semibold text-text-primary'>{name}</div> <Textarea value={content} onChange={(e: React.ChangeEvent<HTMLTextAreaElement>) => onChange(e.target.value)} -- Gitblit v1.8.0