Skip to content

Commit cb85a1d

Browse files
committed
outuput expnded modal correct width
1 parent 18dd6b8 commit cb85a1d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/molecules/modals/OutputNodeExpandedModal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const OuputNodeExpandedModal = ({ closeFn = () => null, open = false, data }) =>
3131
<div className='fixed inset-0 bg-black/25' />
3232
</Transition.Child>
3333

34-
<div className='fixed inset-0 max-h-[600px] max-w-[600px] overflow-y-auto'>
34+
<div className='fixed inset-0 overflow-y-auto'>
3535
<div className='flex items-center justify-center min-h-full p-4 text-center'>
3636
<Transition.Child
3737
as={Fragment}
@@ -42,11 +42,11 @@ 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)}

0 commit comments

Comments
 (0)