Skip to content

Commit 41c2927

Browse files
authored
fix(dashboard): 修复 Session 详情卡片内容折行问题,强制单行显示; (#232)
- 身份行(Session ID/Device/Account)长值不再折行,超长部分以省略号截断 - 指标网格改为固定 8 列布局,确保所有指标在一行中均匀排列 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist)
1 parent 18dbe16 commit 41c2927

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/coding/proxy/server/dashboard.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,11 +449,11 @@ def _build_favicon() -> bytes:
449449
}
450450
.detail-identity-row .detail-item { flex: 3 1 0; }
451451
.detail-identity-row .detail-item:first-child { flex: 2 1 0; }
452-
.detail-identity-row .detail-value { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
452+
.detail-identity-row .detail-value { font-family: 'JetBrains Mono', monospace; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }
453453
.detail-metrics-grid {
454454
display: grid;
455-
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
456-
gap: 10px 20px;
455+
grid-template-columns: repeat(8, 1fr);
456+
gap: 10px 16px;
457457
}
458458
.detail-inline-pair { display: flex; gap: 16px; }
459459
.detail-inline-pair > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }

0 commit comments

Comments
 (0)