浏览代码

feat: enhance the custom note (#8885)

tags/0.12.0
非法操作 11 个月前
父节点
当前提交
beb7953d38
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 0
    1
      web/app/components/workflow/note-node/index.tsx
  2. 4
    0
      web/app/components/workflow/style.css

+ 0
- 1
web/app/components/workflow/note-node/index.tsx 查看文件

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

+ 4
- 0
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;
}

正在加载...
取消
保存