'修改工作动态列表页样式问题'

This commit is contained in:
HISENSE\liuyuxin6 2022-06-21 15:27:21 +08:00
parent 9d36a8b5d6
commit 5a9761b741
1 changed files with 6 additions and 11 deletions

View File

@ -125,7 +125,6 @@
.total-num-content { .total-num-content {
font-size: 14px; font-size: 14px;
color: #212121; color: #212121;
margin: 18px 0 10px;
border-bottom: 1px solid #dddee1; border-bottom: 1px solid #dddee1;
height: 35px; height: 35px;
display: flex; display: flex;
@ -141,16 +140,11 @@
} }
:deep(.ant-list-item) { :deep(.ant-list-item) {
width: 1300px; width: 1300px;
padding: 16px 0; padding: 30px 0;
position: relative; position: relative;
border-bottom: #dddee1 solid 1px; border-bottom: #dddee1 solid 1px;
.ant-list-item-main { .ant-list-item-meta {
height: 140px; margin: 0;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
} }
.ant-list-item-meta-title { .ant-list-item-meta-title {
white-space: nowrap; white-space: nowrap;
@ -167,17 +161,18 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 4; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.pulish-time { .pulish-time {
position: absolute; position: absolute;
left: 196px; left: 196px;
bottom: 50px; bottom: 35px;
color: #212121; color: #212121;
} }
.ant-image-img { .ant-image-img {
width: 180px; width: 180px;
min-height: 120px;
} }
&:hover { &:hover {