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