error highlighting and message improvements

This commit is contained in:
2026-03-31 21:15:51 -07:00
parent 5ea16d4e43
commit cbfd15ac06
5 changed files with 54 additions and 8 deletions

View File

@@ -797,6 +797,21 @@ html, body, #root {
border-bottom: 1px solid var(--warning-border);
}
.custom-node.node-error {
outline: 2px solid #ef4444;
outline-offset: -1px;
box-shadow: 0 0 8px rgba(239, 68, 68, 0.35);
}
.node-error-message {
padding: 3px 10px;
font-size: 10px;
color: #fca5a5;
background: rgba(239, 68, 68, 0.12);
border-top: 1px solid rgba(239, 68, 68, 0.3);
border-bottom: 1px solid rgba(239, 68, 68, 0.3);
}
.node-value-display {
padding: 8px 10px 4px;
}