修复时间显示问题
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user