liting2017 7 년 전
부모
커밋
4f5f52f414
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  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;