help marker functional

This commit is contained in:
2026-03-30 23:18:57 -07:00
parent 63d76bac72
commit 978d45fea8
3 changed files with 16 additions and 9 deletions

View File

@@ -1223,11 +1223,11 @@ function CustomNode({ id, data }) {
<div className="custom-node">
{/* Title */}
<div className="node-title drag-handle" style={{ background: catColor }}>
<div className="node-title-left">
<span className="node-title-main">{data.label}</span>
<div className="node-title-right">
{headerMeta && <span className="node-title-meta" title={headerMeta}>{headerMeta}</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">

View File

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

View File

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