lsc 3 years ago
parent
commit
2d1a4f48f5
1 changed files with 13 additions and 11 deletions
  1. 13 11
      src/components/courseDetail.vue

+ 13 - 11
src/components/courseDetail.vue

@@ -447,18 +447,20 @@ export default {
 .blue_box > div:nth-child(2) {
   line-height: 0px;
 }
-.blue_box_one > div:nth-child(2) {
-  white-space: nowrap;
-  text-overflow: ellipsis;
-  overflow: hidden;
-  word-break: break-all;
-  width: 60%;
+.blue_box_one > div:nth-child(1) {
+    line-height: 65px;
+    margin: 0 5px 0 10px;
+    width: 30%;
+    min-width: 60px;
 }
-.blue_box_one > div:nth-child(2):hover {
-  overflow: hidden;
-  text-overflow: ellipsis;
-  white-space: nowrap;
-  cursor: pointer;
+.blue_box_one > div:nth-child(2) {
+white-space: nowrap;
+    text-overflow: ellipsis;
+    overflow: hidden;
+    word-break: break-all;
+    width: 70%;
+    text-align: left;
+    max-width: calc(100% - 75px);
 }
 .return {
   background: rgb(238, 238, 238);