liting2017 6 years ago
parent
commit
4f5f52f414
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/css/newMenu/demand.css

+ 5 - 5
src/css/newMenu/demand.css

@@ -534,16 +534,16 @@
     padding-bottom: 10px;
 } 
 .studyTxt ul li .imgRight p{
-    margin-top: 10px;
     font-size: 12px;
     text-align: justify;
     color: #7a7878;
-    margin-bottom: 10px;
+    margin-bottom: 5px;
     line-height: 18px;
-    white-space: nowrap;
     overflow: hidden;
-    text-overflow: ellipsis;
-    -o-text-overflow: ellipsis;
+    display: -webkit-box;              
+    text-overflow: ellipsis;            
+    -webkit-box-orient: vertical;       
+    -webkit-line-clamp:2;
 }
 .studyTxt ul li .imgRight span{
     display: inline-block;