chore: add reopen preview btn (#9279)

Co-authored-by: billsyli <billsyli@tencent.com>
This commit is contained in:
我有一把妖刀 2024-10-14 13:32:52 +08:00 committed by GitHub
parent 5ee7e03c1b
commit de3c5751db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -585,7 +585,7 @@ const StepTwo = ({
<div ref={scrollRef} className='relative h-full w-full overflow-y-scroll'>
<div className={cn(s.pageHeader, scrolled && s.fixed, isMobile && '!px-6')}>
<span>{t('datasetCreation.steps.two')}</span>
{isMobile && (
{(isMobile || !showPreview) && (
<Button
className='border-[0.5px] !h-8 hover:outline hover:outline-[0.5px] hover:outline-gray-300 text-gray-700 font-medium bg-white shadow-[0px_1px_2px_0px_rgba(16,24,40,0.05)]'
onClick={setShowPreview}