修复时间显示问题

This commit is contained in:
张成
2025-11-10 00:05:49 +08:00
parent 649898e346
commit e7b8aab80c
2 changed files with 65 additions and 4 deletions

View File

@@ -49,13 +49,20 @@
font-size: 12px;
line-height: 18px;
color: #3C3C4399;
overflow: hidden;
}
.location-position {
max-width: 50%;
flex: 1;
min-width: 0; // 允许缩小
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
// 不使用 CSS 的省略号,由 JS 控制
}
.location-time-distance {
flex-shrink: 0; // 固定信息不压缩,始终显示
white-space: nowrap;
}
.location-text {