fix: 修复请求链路追踪宽度不足时节点被遮挡的问题

使用 justify-content: safe center 替代 center,
当内容溢出时自动回退到靠左对齐,确保左侧节点可滚动访问
This commit is contained in:
fawney19
2026-01-16 01:43:52 +08:00
parent 6cc66e404b
commit 8bd3a894f1

View File

@@ -758,11 +758,11 @@ const getStatusColorClass = (status: string) => {
width: 100%;
}
/* 极简轨道 */
/* 极简轨道 - 包装器实现溢出时居左、不溢出时居中 */
.minimal-track {
display: flex;
align-items: center;
justify-content: center;
justify-content: safe center;
gap: 64px;
padding: 2rem;
overflow-x: auto;