refactor: improve layout structure in StepOne component for better responsiveness

This commit is contained in:
ZeroZ_JQ 2025-03-19 16:22:26 +08:00
parent 41dff175b3
commit 72d8e71779

View File

@ -132,7 +132,8 @@ const StepOne = ({
}, [files, isShowVectorSpaceFull])
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='flex justify-end'>
<div className={classNames(s.form)}>
@ -317,6 +318,7 @@ const StepOne = ({
{currentWebsite && <WebsitePreview payload={currentWebsite} hidePreview={hideWebsitePreview} />}
</div>
</div>
</div>
)
}