enhance the custom note

This commit is contained in:
hejl 2024-09-29 15:41:14 +08:00
parent 74f58f29f9
commit 97cfb65630
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -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;
}