help marker functional
This commit is contained in:
@@ -1223,11 +1223,11 @@ function CustomNode({ id, data }) {
|
||||
<div className="custom-node">
|
||||
{/* Title */}
|
||||
<div className="node-title drag-handle" style={{ background: catColor }}>
|
||||
<span className="node-title-main">{data.label}</span>
|
||||
<div className="node-title-right">
|
||||
{headerMeta && <span className="node-title-meta" title={headerMeta}>{headerMeta}</span>}
|
||||
<div className="node-title-left">
|
||||
<span className="node-title-main">{data.label}</span>
|
||||
<button className="node-help-btn nodrag nopan" title="Documentation" onClick={onHelpClick}>?</button>
|
||||
</div>
|
||||
{headerMeta && <span className="node-title-meta" title={headerMeta}>{headerMeta}</span>}
|
||||
</div>
|
||||
|
||||
<div className="node-body">
|
||||
|
||||
@@ -419,6 +419,18 @@ html, body, #root {
|
||||
|
||||
.node-title-main {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.node-title-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
.node-title-meta {
|
||||
@@ -435,12 +447,6 @@ html, body, #root {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.node-title-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.node-help-btn {
|
||||
width: 15px;
|
||||
|
||||
@@ -12,6 +12,7 @@ export default defineConfig({
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/nodes': 'http://127.0.0.1:8188',
|
||||
'/docs': 'http://127.0.0.1:8188',
|
||||
'/files': 'http://127.0.0.1:8188',
|
||||
'/folder-files': 'http://127.0.0.1:8188',
|
||||
'/channels': 'http://127.0.0.1:8188',
|
||||
|
||||
Reference in New Issue
Block a user