From 08e66c5451027d46a62553a45708342f5b65b4d5 Mon Sep 17 00:00:00 2001 From: mickr777 <115216705+mickr777@users.noreply.github.com> Date: Wed, 7 Jun 2023 14:49:03 +1000 Subject: [PATCH 1/2] Update NodeGraphOverlay.tsx Graph overlay was expanding off the screen to the size of the prompt --- .../web/src/features/nodes/components/NodeGraphOverlay.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/nodes/components/NodeGraphOverlay.tsx b/invokeai/frontend/web/src/features/nodes/components/NodeGraphOverlay.tsx index e66f75792b..f111a5c776 100644 --- a/invokeai/frontend/web/src/features/nodes/components/NodeGraphOverlay.tsx +++ b/invokeai/frontend/web/src/features/nodes/components/NodeGraphOverlay.tsx @@ -13,14 +13,16 @@ const NodeGraphOverlay = () => { as="pre" fontFamily="monospace" position="absolute" - top={10} + top={2} right={2} opacity={0.7} background="base.800" p={2} maxHeight={500} + maxWidth={500} overflowY="scroll" borderRadius="md" + boxShadow="0px 10px 10px rgba(0, 0, 0, 0.25)" > {JSON.stringify(graph, null, 2)} From 0f16b1c98d44f2991db27ab43e60e014e64157c4 Mon Sep 17 00:00:00 2001 From: mickr777 <115216705+mickr777@users.noreply.github.com> Date: Wed, 7 Jun 2023 15:51:37 +1000 Subject: [PATCH 2/2] Remove Shadow --- .../web/src/features/nodes/components/NodeGraphOverlay.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/nodes/components/NodeGraphOverlay.tsx b/invokeai/frontend/web/src/features/nodes/components/NodeGraphOverlay.tsx index f111a5c776..ef6f89bed0 100644 --- a/invokeai/frontend/web/src/features/nodes/components/NodeGraphOverlay.tsx +++ b/invokeai/frontend/web/src/features/nodes/components/NodeGraphOverlay.tsx @@ -22,7 +22,6 @@ const NodeGraphOverlay = () => { maxWidth={500} overflowY="scroll" borderRadius="md" - boxShadow="0px 10px 10px rgba(0, 0, 0, 0.25)" > {JSON.stringify(graph, null, 2)}