溢出隐藏

This commit is contained in:
clay
2022-01-03 19:02:14 +08:00
parent c6f6f55069
commit ba8e6c1601
8 changed files with 52 additions and 28 deletions

View File

@@ -352,6 +352,9 @@ export default {
margin-left: 1rem;
font-size: 1.8rem;
font-weight: 500;
overflow:hidden; //超出的文本隐藏
text-overflow:ellipsis; //溢出用省略号显示
white-space:nowrap; //溢出不换行
}
.time {
@@ -401,6 +404,9 @@ export default {
margin-left: 1rem;
font-size: 1.8rem;
font-weight: 500;
overflow:hidden; //超出的文本隐藏
text-overflow:ellipsis; //溢出用省略号显示
white-space:nowrap; //溢出不换行
}
.time {