Chart builder: fold render diagnostic behind a disclosure

This commit is contained in:
2026-06-11 19:27:03 +03:00
parent 181b9da8ab
commit 2a0b4794df
2 changed files with 52 additions and 15 deletions
@@ -709,9 +709,35 @@
.previewError {
margin: auto 0;
padding: var(--space-3);
font-family: var(--font-mono);
font-size: 12px;
}
.previewErrorHeadline {
margin: 0;
font-size: 13px;
line-height: 1.5;
white-space: pre-wrap;
color: var(--support-error);
}
.previewErrorDetails {
margin-top: var(--space-2);
}
.previewErrorSummary {
font-size: 12px;
color: var(--text-secondary);
cursor: pointer;
user-select: none;
}
.previewErrorDetail {
margin: var(--space-2) 0 0;
padding: var(--space-3);
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.4;
color: var(--text);
background: var(--layer-01);
border: var(--border-width) solid var(--border);
white-space: pre-wrap;
word-break: break-word;
}