tanxue 2 роки тому
батько
коміт
1ecadc35b9
1 змінених файлів з 9 додано та 6 видалено
  1. 9 6
      pages/courseware/custom.vue

+ 9 - 6
pages/courseware/custom.vue

@@ -400,18 +400,21 @@ export default {
     .client-course-classification {
       box-sizing: border-box;
       text-align: center;
-      height: 400px;
-      padding-top: 35px;
+      height: unset;
+      padding: 35px 0;
 
       .classification-items{
         flex-wrap: wrap;
-        justify-content: space-around;
+        justify-content: space-evenly;
       }
       .classification-item {
-        box-sizing: border-box;
+        width: 140px;
+        height: 167px;
         margin: 10px;
-        width: calc(50% - 20px);
-        height: 140px;
+        background-size: contain;
+        background-repeat: no-repeat;
+        background-position: center;
+        p{font-size: 14px;bottom: 30px;}
 
         &:not(:nth-child(even)) {
           margin-right: 0;