mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
fix: 修复请求链路追踪宽度不足时节点被遮挡的问题
使用 justify-content: safe center 替代 center, 当内容溢出时自动回退到靠左对齐,确保左侧节点可滚动访问
This commit is contained in:
@@ -758,11 +758,11 @@ const getStatusColorClass = (status: string) => {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 极简轨道 */
|
/* 极简轨道 - 包装器实现溢出时居左、不溢出时居中 */
|
||||||
.minimal-track {
|
.minimal-track {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: safe center;
|
||||||
gap: 64px;
|
gap: 64px;
|
||||||
padding: 2rem;
|
padding: 2rem;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user