fix: awel template css error (#2220)

Co-authored-by: wb-lh513319 <wb-lh513319@alibaba-inc.com>
This commit is contained in:
Aries-ckt
2024-12-20 10:48:54 +08:00
committed by GitHub
parent 0ed793e121
commit f0d89eaf0d
270 changed files with 892 additions and 846 deletions

View File

@@ -35,20 +35,24 @@ export const FlowTemplateModal: React.FC<Props> = ({ isFlowTemplateModalOpen, se
title: t('Template_Name'),
dataIndex: 'name',
key: 'name',
width: '30%',
},
{
title: t('Template_Label'),
dataIndex: 'label',
key: 'label',
width: '30%',
},
{
title: t('Template_Description'),
dataIndex: 'description',
key: 'description',
width: '30%',
},
{
title: t('Template_Action'),
key: 'action',
width: '10%',
render: (_, record) => (
<Space size='middle'>
<Button
@@ -75,14 +79,19 @@ export const FlowTemplateModal: React.FC<Props> = ({ isFlowTemplateModalOpen, se
return (
<>
<Modal
className='w-[700px]'
className='w-[900px]'
title={t('Import_From_Template')}
open={isFlowTemplateModalOpen}
onCancel={() => setIsFlowTemplateModalOpen(false)}
cancelButtonProps={{ className: 'hidden' }}
okButtonProps={{ className: 'hidden' }}
>
<Table className='w-full' dataSource={dataSource} columns={columns} />;
<Table
className='w-full'
// scroll={{ x: 'max-content' }}
dataSource={dataSource}
columns={columns}
/>
</Modal>
</>
);