Переглянути джерело

fix: UI更新-课程卡片 3

mjh 3 роки тому
батько
коміт
ac3ebdea4d
1 змінених файлів з 8 додано та 7 видалено
  1. 8 7
      src/components/CourseCard.vue

+ 8 - 7
src/components/CourseCard.vue

@@ -157,18 +157,19 @@ export default {
 }
 
 .description {
-  background-color: #f6f6f6;
-  margin-top: 10px;
-  border-radius: 8px;
-  padding: 5px;
-  font-size: 10px;
-  color: #777777;
   -webkit-line-clamp: 2;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
-  height: 43px;
+  background-color: #f6f6f6;
+  margin-top: 10px;
+  border-radius: 8px;
+  padding-left: 10px;
+  padding-right: 10px;
+  font-size: 10px;
+  color: #777777;
+  height: 33px;
 }
 
 .button {