fixed up nodeeditor modal styling

This commit is contained in:
ari committed 2022-01-14 12:40:30 -05:00
1 parent d77f079a23
commit b2c7529d66
2 files changed
+9 -8

No files matched your search

+8 -7
View File
@@ -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 {
+1 -1
View File
@@ -31,7 +31,7 @@ export const NodeEditor: FC<Props> = ({
current={state.nodeType}
options={allowedTypes}
onChange={state.setNodeType}
/> : <span>{state.nodeType}</span>}
/> : <></>}
{state.nodeType !== 'condition' ? <InputList
label={`${state.nodeType} type`}
current={state.subType as any}