Commit 9bae2df5 by wufan

style:课节列表样式优化

parent 52c18217
...@@ -171,23 +171,22 @@ ...@@ -171,23 +171,22 @@
line-height: 40px; line-height: 40px;
} }
.course-chapter-list { .course-chapter-list {
margin-top: 8px; max-height: 245px;
max-height: 247px;
min-height: 130px; min-height: 130px;
overflow-y: auto ; overflow-y: auto ;
border-radius: 4px; border-radius: 4px;
padding: 20px 16px; padding: 16px;
.course-ware { .course-ware {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 22px; margin-bottom: 22px;
color: #666; color: #666;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0px;
} }
&__img { &__img {
width: 24px; width: 24px;
margin-right: 4px; margin-right: 8px;
margin-left: 16px; margin-left: 16px;
} }
...@@ -197,6 +196,7 @@ ...@@ -197,6 +196,7 @@
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
margin-right: 24px;
} }
.course-chapter__opt { .course-chapter__opt {
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment