Skip to content

Commit b0083fc

Browse files
committed
resizable json request body and output node
1 parent 3d12a4d commit b0083fc

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/components/atoms/Editor.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.cm-editor {
2-
height: 380px;
3-
width: 380px;
2+
height: 100%;
3+
width: 100%;
4+
min-width: 288px;
5+
resize: both;
6+
overflow: auto !important;
47
}
58
.cm-scroller {
69
overflow: auto;

src/components/molecules/flow/nodes/OutputNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const OutputNode = ({ id, data }) => {
1212
handleRight={true}
1313
handleRightData={{ type: 'source' }}
1414
>
15-
<div className='w-full text-xs text-gray-900 border border-gray-300 rounded-lg nodrag nowheel min-h-96 min-w-96 bg-gray-50 outline-blue-300 focus:border-blue-100 focus:ring-blue-100'>
15+
<div className='w-full text-xs text-gray-900 border border-gray-300 rounded-lg nodrag nowheel min-w-72 bg-gray-50 outline-blue-300 focus:border-blue-100 focus:ring-blue-100'>
1616
{data.output ? (
1717
<Editor name='output-text' value={JSON.stringify(data.output, null, 2)} readOnly={true} />
1818
) : (

0 commit comments

Comments
 (0)