feat: Arrange the form of generate, categorize, switch, retrieval operators vertically #1739 (#2800)
### What problem does this PR solve? feat: Arrange the form of generate, categorize, switch, retrieval operators vertically #1739 ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
.title {
|
||||
flex-basis: 60px;
|
||||
}
|
||||
|
||||
.formWrapper {
|
||||
:global(.ant-form-item-label) {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,13 +118,15 @@ const FlowDrawer = ({
|
||||
mask={false}
|
||||
width={470}
|
||||
>
|
||||
{visible && (
|
||||
<OperatorForm
|
||||
onValuesChange={handleValuesChange}
|
||||
form={form}
|
||||
node={node}
|
||||
></OperatorForm>
|
||||
)}
|
||||
<section className={styles.formWrapper}>
|
||||
{visible && (
|
||||
<OperatorForm
|
||||
onValuesChange={handleValuesChange}
|
||||
form={form}
|
||||
node={node}
|
||||
></OperatorForm>
|
||||
)}
|
||||
</section>
|
||||
</Drawer>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user