style: 优化客户端基础信息排版

This commit is contained in:
Nixevol
2026-07-05 04:32:17 +08:00
parent 292837d98a
commit 5b6c0300b3
2 changed files with 20 additions and 5 deletions
+19 -5
View File
@@ -1059,19 +1059,26 @@ watch(
gap: 8px;
}
.field {
display: flex;
display: grid;
grid-template-columns: 132px minmax(0, 1fr);
align-items: center;
column-gap: 10px;
font-size: 14px;
border-bottom: 1px dashed var(--trace-divider);
padding-bottom: 8px;
padding: 3px 0 9px;
}
.field-label {
width: 90px;
color: var(--muted);
flex-shrink: 0;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.field-value {
flex: 1;
min-width: 0;
color: var(--text);
font-weight: 600;
word-break: break-word;
}
.field-img {
width: 96px;
@@ -1085,6 +1092,13 @@ watch(
color: var(--brand-2);
word-break: break-all;
}
@media (max-width: 420px) {
.field {
grid-template-columns: 118px minmax(0, 1fr);
column-gap: 8px;
font-size: 13px;
}
}
.timeline {
position: relative;
}