Commit 45437a51 authored by Joel's avatar Joel

fix: enchance style

parent 84414533
...@@ -339,8 +339,8 @@ const TextGeneration: FC<IMainProps> = ({ ...@@ -339,8 +339,8 @@ const TextGeneration: FC<IMainProps> = ({
<div className={s.starIcon}></div> <div className={s.starIcon}></div>
<div className='text-lg text-gray-800 font-semibold'>{t('share.generation.title')}</div> <div className='text-lg text-gray-800 font-semibold'>{t('share.generation.title')}</div>
</div> </div>
<div className='flex items-center space-x-1'> <div className='flex items-center space-x-2'>
{(allTaskFinished || true) && ( {allTaskFinished && (
<ResDownload <ResDownload
isMobile={isMobile} isMobile={isMobile}
vars={promptConfig?.prompt_variables || []} vars={promptConfig?.prompt_variables || []}
......
...@@ -47,7 +47,7 @@ const ResDownload: FC<IResDownloadProps> = ({ ...@@ -47,7 +47,7 @@ const ResDownload: FC<IResDownloadProps> = ({
...values, ...values,
]} ]}
> >
<Button className={cn('flex items-center !h-8 space-x-2 text-xs font-medium', isMobile ? '!p-0 !w-8 justify-center' : '!px-3')}> <Button className={cn('flex items-center !h-8 space-x-2 bg-white !text-[13px] font-medium', isMobile ? '!p-0 !w-8 justify-center' : '!px-3')}>
<DownloadIcon className='w-4 h-4 text-[#155EEF]' /> <DownloadIcon className='w-4 h-4 text-[#155EEF]' />
{!isMobile && <span className='text-[#155EEF]'>{t('common.operation.download')}</span>} {!isMobile && <span className='text-[#155EEF]'>{t('common.operation.download')}</span>}
</Button> </Button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment