dengzhiguo 7 years ago
parent
commit
cf0add583a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/css/thinkTank/thinkerDetail.css

+ 2 - 1
src/css/thinkTank/thinkerDetail.css

@@ -28,7 +28,8 @@ background: rgba(255,255,255,0.5);}
 .basc_img>div>div>span{display: inline-block;overflow: hidden;}
 .basc_p{width:750px;height:340px;position: absolute;top:30px;left:420px;}
 .basc_p>h4{text-align: center;color:#2F6698;font-size:22px;letter-spacing: 2px;font-weight: normal;}
-.basc_p>p{margin-top:15px;line-height: 26px;color:#6C6B6B;}
+.basc_p>p{margin-top:15px;line-height: 26px;color:#6C6B6B;
+text-align: justify;text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical; -webkit-line-clamp: 5;}
 .basc_p>div{font-weight:bold;}
 .basc_p>div>span{font-weight: normal;color:#6C6B6B;}
 .basc_p>div:nth-child(3){position: absolute;top:185px;left:0;}