diff --git a/webapp/src/components/NodeEditor/index.css b/webapp/src/components/NodeEditor/index.css index 4187d5b..521762f 100644 --- a/webapp/src/components/NodeEditor/index.css +++ b/webapp/src/components/NodeEditor/index.css @@ -10,19 +10,20 @@ display : flex; flex-direction : row; justify-content: space-between; + margin-bottom : 6px; +} + +.node-editor--body-title>* { + flex: 1; } .node-editor--body { - flex : 1; overflow : overlay; - width : 100%; - min-width : fit-content; padding-left : 1%; padding-right: 1%; - /* resize : auto; - min-width : fit-content; - max-height : 100%; - min-height : fit-content; */ + + min-width : 100%; + min-height: fit-content; } .node-editor--footer { diff --git a/webapp/src/components/NodeEditor/index.tsx b/webapp/src/components/NodeEditor/index.tsx index c2eb8b3..85f7893 100644 --- a/webapp/src/components/NodeEditor/index.tsx +++ b/webapp/src/components/NodeEditor/index.tsx @@ -31,7 +31,7 @@ export const NodeEditor: FC = ({ current={state.nodeType} options={allowedTypes} onChange={state.setNodeType} - /> : {state.nodeType}} + /> : <>} {state.nodeType !== 'condition' ?