Skip to content

Commit 74fd4b4

Browse files
committed
output expanded modal view
1 parent 64d9544 commit 74fd4b4

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const OutputNode = ({ id, data }) => {
3333
name='output-text'
3434
value={JSON.stringify(data.output, null, 2)}
3535
readOnly={true}
36-
classes={'w-80 h-80'}
36+
classes={'w-96 h-96'}
3737
/>
3838
) : (
3939
<div className='p-2'>{'Run flow to see data'}</div>

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const RequestBody = ({ nodeId, nodeData }) => {
115115
{requestBodyTypeOptions.map((bodyTypeOption, index) => (
116116
<Menu.Item key={index} data-click-from='body-type-menu' onClick={() => handleClose(bodyTypeOption)}>
117117
<button
118-
className='flex items-center w-full px-2 py-2 text-sm text-gray-900 rounded-md group hover:bg-background-light'
118+
className='flex items-center w-full px-2 py-2 text-sm text-gray-900 rounded-md hover:bg-background-light group'
119119
data-click-from='body-type-menu'
120120
>
121121
{bodyTypeOption}
@@ -132,7 +132,12 @@ const RequestBody = ({ nodeId, nodeData }) => {
132132
<div className='p-4 bg-background'>
133133
<div className='w-full nodrag nowheel min-w-72'>
134134
<div className='bg-background-lighter'>
135-
<Editor name='request-body-json' onChange={(e) => handleRawJson(e)} value={nodeData.requestBody.body} />
135+
<Editor
136+
name='request-body-json'
137+
onChange={(e) => handleRawJson(e)}
138+
value={nodeData.requestBody.body}
139+
classes={'w-96 h-96'}
140+
/>
136141
</div>
137142
<Button
138143
btnType={BUTTON_TYPES.secondary}

src/components/molecules/modals/OutputNodeExpandedModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const OuputNodeExpandedModal = ({ closeFn = () => null, open = false, data }) =>
5151
name='output-text'
5252
value={JSON.stringify(data, null, 2)}
5353
readOnly={true}
54-
classes={'w-40 h-40'}
54+
classes={'w-1/2 h-1/2'}
5555
/>
5656
</div>
5757
</Dialog.Panel>

0 commit comments

Comments
 (0)