Skip to content

Commit bc9dddd

Browse files
authored
Merge pull request #107 from FlowTestAI/width-modal
fix: proper width for output expanded modal
2 parents d57fe60 + cb85a1d commit bc9dddd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/molecules/modals/OutputNodeExpandedModal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ const OuputNodeExpandedModal = ({ closeFn = () => null, open = false, data }) =>
4242
leaveFrom='opacity-100 scale-100'
4343
leaveTo='opacity-0 scale-95'
4444
>
45-
<Dialog.Panel className='w-full max-w-2xl p-6 overflow-hidden text-left align-middle transition-all transform bg-white rounded shadow-xl'>
45+
<Dialog.Panel className='w-full max-w-2xl p-6 overflow-hidden text-left align-middle transition-all transform bg-white rounded shadow-xl '>
4646
<Dialog.Title as='h3' className='pb-4 text-lg font-semibold text-center border-b border-gray-300'>
4747
Ouput
4848
</Dialog.Title>
49-
<div className='mt-6'>
49+
<div className='mt-6 max-h-[600px] max-w-[600px]'>
5050
<Editor
5151
name='output-text'
5252
value={JSON.stringify(data, null, 2)}
5353
readOnly={true}
54-
classes={'w-1/2 h-1/2'}
54+
classes={'w-[600px] h-[600px]'}
5555
/>
5656
</div>
5757
</Dialog.Panel>

0 commit comments

Comments
 (0)