From 97cfb65630956ae0ecb7709f544f71f5faecd0ea Mon Sep 17 00:00:00 2001 From: hejl Date: Sun, 29 Sep 2024 15:41:14 +0800 Subject: [PATCH] enhance the custom note --- web/app/components/workflow/note-node/index.tsx | 1 - web/app/components/workflow/style.css | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/app/components/workflow/note-node/index.tsx b/web/app/components/workflow/note-node/index.tsx index ec2bb84f68..6d62b452e4 100644 --- a/web/app/components/workflow/note-node/index.tsx +++ b/web/app/components/workflow/note-node/index.tsx @@ -81,7 +81,6 @@ const NoteNode = ({ nodeData={data} icon={} minWidth={240} - maxWidth={640} minHeight={88} />
diff --git a/web/app/components/workflow/style.css b/web/app/components/workflow/style.css index 9ec8586ccc..ca1d24a52e 100644 --- a/web/app/components/workflow/style.css +++ b/web/app/components/workflow/style.css @@ -15,4 +15,8 @@ #workflow-container .react-flow__selection { border: 1px solid #528BFF; background: rgba(21, 94, 239, 0.05); +} + +#workflow-container .react-flow__node-custom-note { + z-index: -1000 !important; } \ No newline at end of file