fix: display diagram

This commit is contained in:
Maël Gangloff
2024-08-18 14:42:25 +02:00
parent eb851ad2f5
commit 693b5a0b19
3 changed files with 10 additions and 9 deletions

View File

@@ -221,7 +221,8 @@ export function WatchlistForm({form, connectors, onFinish, isCreation}: {
</Form.Item>
))}
<Form.Item help={
<Typography.Link href='https://symfony.com/doc/current/notifier.html#chat-channel'>
<Typography.Link href='https://symfony.com/doc/current/notifier.html#chat-channel'
target='_blank'>
{t`Check out this link to the Symfony documentation to help you build the DSN`}
</Typography.Link>}
>

View File

@@ -55,9 +55,9 @@ export function ViewDiagramWatchlistButton({token}: { token: string }) {
}
onOk={() => setOpen(false)}
onCancel={() => setOpen(false)}
width='80vw'
width='85vw'
>
{nodes && edges && <Flex style={{width: '75vw', height: '80vh'}}>
<Flex style={{width: '80vw', height: '80vh'}}>
<ReactFlow
fitView
colorMode='system'
@@ -73,7 +73,7 @@ export function ViewDiagramWatchlistButton({token}: { token: string }) {
<Controls/>
<Background/>
</ReactFlow>
</Flex>}
</Flex>
</Modal>
</>
}