feat: Enhance InputFieldDialog and PreviewPanel with improved styling for better layout

This commit is contained in:
twwu 2025-07-31 20:24:18 +08:00
parent c9ab0fb8f6
commit f75a3ef212
2 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ const InputFieldDialog = ({
show={!!showInputFieldDialog}
onClose={closePanel}
outerWrapperClassName='overflow-y-auto'
panelWrapperClassName='justify-start'
className='grow rounded-l-2xl border-y-[0.5px] border-l-[0.5px]'
>
<div className='flex shrink-0 items-center p-4 pb-0'>

View File

@ -24,6 +24,7 @@ const PreviewPanel = ({
<DialogWrapper
show={show}
onClose={onClose}
outerWrapperClassName='overflow-y-auto'
panelWrapperClassName='pr-[424px] justify-start'
className='w-[480px] grow rounded-2xl border-[0.5px] bg-components-panel-bg'
>