课程详情优化

This commit is contained in:
禺狨 2023-06-30 16:04:28 +08:00
parent 3133c2575c
commit 67c625306e

View File

@ -81,17 +81,12 @@
z-index: 10; z-index: 10;
.desc { .desc {
width: 100%; width: 100%;
max-height: 72px; height: auto;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
color: rgba(0, 0, 0, 0.45); color: rgba(0, 0, 0, 0.45);
line-height: 18px; line-height: 18px;
text-align: left; text-align: left;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
} }
.line { .line {
width: 100%; width: 100%;