fix: fullscreen chart and metrics log layout

This commit is contained in:
2026-02-08 14:16:01 +08:00
parent 6500b3a481
commit b4e181caea
2 changed files with 23 additions and 17 deletions

View File

@@ -981,9 +981,9 @@ h1 span {
} }
.fullscreen .modal-box { .fullscreen .modal-box {
width: calc(100vw - 48px); width: 95vw;
height: 90vh;
max-width: none; max-width: none;
height: calc(100vh - 48px);
max-height: none; max-height: none;
} }
@@ -993,6 +993,12 @@ h1 span {
overflow: hidden; overflow: hidden;
} }
#relation-chart-fullscreen {
width: 100%;
height: 100%;
min-height: 500px;
}
/* ═══════════════════════════════════════════════════════════════════════════ /* ═══════════════════════════════════════════════════════════════════════════
Editor Editor
═══════════════════════════════════════════════════════════════════════════ */ ═══════════════════════════════════════════════════════════════════════════ */
@@ -2727,19 +2733,19 @@ h1 span {
} }
.debug-log-viewer { .debug-log-viewer {
width: 100%; background: #1e1e1e;
height: 400px; color: #d4d4d4;
background: var(--bg3); padding: 16px;
border: 1px solid var(--bdr); border-radius: 8px;
border-radius: 6px; font-family: 'Consolas', 'Monaco', monospace;
padding: 12px; font-size: 12px;
font-family: 'SF Mono', Monaco, Consolas, 'Courier New', monospace;
font-size: 11px;
line-height: 1.5; line-height: 1.5;
color: var(--txt2); max-height: 60vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden;
white-space: pre-wrap; white-space: pre-wrap;
margin: 0; word-break: break-word;
overflow-wrap: break-word;
} }
.recall-empty { .recall-empty {
@@ -2897,4 +2903,4 @@ h1 span {
#recall-log-content .metric-good { #recall-log-content .metric-good {
color: #22c55e; color: #22c55e;
} }

View File

@@ -137,9 +137,9 @@ export function formatMetricsLog(metrics) {
const lines = []; const lines = [];
lines.push(''); lines.push('');
lines.push('═══════════════════════════════════════════════════════════════════'); lines.push('════════════════════════════════════════');
lines.push(' Recall Metrics Report '); lines.push(' Recall Metrics Report ');
lines.push('═══════════════════════════════════════════════════════════════════'); lines.push('════════════════════════════════════════');
lines.push(''); lines.push('');
// L0 Query Understanding // L0 Query Understanding
@@ -291,7 +291,7 @@ export function formatMetricsLog(metrics) {
} }
lines.push(''); lines.push('');
lines.push('═══════════════════════════════════════════════════════════════════'); lines.push('════════════════════════════════════════');
lines.push(''); lines.push('');
return lines.join('\n'); return lines.join('\n');