diff --git a/src/components/FlowEditor/node/style/baseOther.module.less b/src/components/FlowEditor/node/style/baseOther.module.less index e3f2ca2..e0a4444 100644 --- a/src/components/FlowEditor/node/style/baseOther.module.less +++ b/src/components/FlowEditor/node/style/baseOther.module.less @@ -49,6 +49,7 @@ padding: 0 5px; border: 1px solid #cccccc; border-radius: 3px; + justify-content: space-between; .node-inputs { padding-right: 10px; @@ -58,8 +59,9 @@ padding-left: 10px; } - .node-inputs, - .node-outputs, + + //.node-inputs, + //.node-outputs, .node-inputs-api, .node-outputs-api { flex: 1; diff --git a/src/pages/flowEditor/components/nodeContentOther.tsx b/src/pages/flowEditor/components/nodeContentOther.tsx index ce1ba86..b78785a 100644 --- a/src/pages/flowEditor/components/nodeContentOther.tsx +++ b/src/pages/flowEditor/components/nodeContentOther.tsx @@ -216,6 +216,10 @@ const formatFooter = (data: any, eventListOld = []) => { } }; +const formatTitle = (text) => { + return text === 'start' || text === 'end' ? '' : text; +}; + const NodeContent = ({ data }: { data: NodeContentData }) => { const { eventListOld } = useSelector((state) => state.ideContainer); const apiIns = data.parameters?.apiIns || []; @@ -239,17 +243,17 @@ const NodeContent = ({ data }: { data: NodeContentData }) => {