refactor: improve layout structure in StepOne component for better re… (#16209)

This commit is contained in:
GuanMu 2025-03-19 20:44:43 +08:00 committed by GitHub
parent a8879057c0
commit 106169ed7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,8 @@ const StepOne = ({
}, [files, isShowVectorSpaceFull]) }, [files, isShowVectorSpaceFull])
return ( return (
<div className='flex w-full h-full'> <div className='w-full h-full overflow-x-auto'>
<div className='flex w-full h-full min-w-[1440px]'>
<div className='w-1/2 h-full overflow-y-auto relative'> <div className='w-1/2 h-full overflow-y-auto relative'>
<div className='flex justify-end'> <div className='flex justify-end'>
<div className={classNames(s.form)}> <div className={classNames(s.form)}>
@ -317,6 +318,7 @@ const StepOne = ({
{currentWebsite && <WebsitePreview payload={currentWebsite} hidePreview={hideWebsitePreview} />} {currentWebsite && <WebsitePreview payload={currentWebsite} hidePreview={hideWebsitePreview} />}
</div> </div>
</div> </div>
</div>
) )
} }