This commit is contained in:
shijingjing
2022-05-27 09:21:58 +08:00
parent 39fe336980
commit 0a6508a714

View File

@@ -108,7 +108,6 @@ export default {
.topic-item { .topic-item {
display: flex; display: flex;
width: 686px; width: 686px;
height: 208px;
margin: 32px auto 0; margin: 32px auto 0;
padding: 32px; padding: 32px;
background: #FFFFFF; background: #FFFFFF;
@@ -118,17 +117,15 @@ export default {
.topic-item__left { .topic-item__left {
flex: 1; flex: 1;
margin-right: 32px h2 { margin-right: 32px;
height: 88px; h2 {
line-height: 44px;
margin-bottom: 16px; margin-bottom: 16px;
color: #333333; color: #333333;
font-size: 32px; font-size: 32px;
text-align: justify;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 3;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }