fix: 增加 浏览器 resize 清除方法

This commit is contained in:
@changcode
2022-08-17 10:46:10 +08:00
parent f33dbae49d
commit 28e91d37f0
7 changed files with 12 additions and 1 deletions

View File

@@ -341,6 +341,12 @@
color: #717171;
line-height: 18px;
font-weight: 400;
max-height: 54px;
overflow: hidden; //超出的文本隐藏
text-overflow: ellipsis; //溢出用省略号显示
display: -webkit-box;
-webkit-line-clamp: 3; // 超出多少行
-webkit-box-orient: vertical;
}
}
}