Skip to content

Commit

Permalink
feat: enhance the custom note (#8885)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjlarry authored Nov 20, 2024
1 parent fbfc811 commit beb7953
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/app/components/workflow/note-node/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ const NoteNode = ({
nodeData={data}
icon={<Icon />}
minWidth={240}
maxWidth={640}
minHeight={88}
/>
<div className='shrink-0 h-2 opacity-50 rounded-t-md' style={{ background: THEME_MAP[theme].title }}></div>
Expand Down
4 changes: 4 additions & 0 deletions web/app/components/workflow/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit beb7953

Please sign in to comment.