Showing
1 changed file
with
3 additions
and
1 deletions
| ... | @@ -1260,8 +1260,10 @@ const handleNewsClick = (item) => { | ... | @@ -1260,8 +1260,10 @@ const handleNewsClick = (item) => { |
| 1260 | line-height: 1.4; | 1260 | line-height: 1.4; |
| 1261 | margin-bottom: 0.5rem; | 1261 | margin-bottom: 0.5rem; |
| 1262 | overflow: hidden; | 1262 | overflow: hidden; |
| 1263 | + display: -webkit-box; | ||
| 1264 | + -webkit-line-clamp: 2; | ||
| 1265 | + -webkit-box-orient: vertical; | ||
| 1263 | text-overflow: ellipsis; | 1266 | text-overflow: ellipsis; |
| 1264 | - white-space: nowrap; | ||
| 1265 | } | 1267 | } |
| 1266 | 1268 | ||
| 1267 | .news-date { | 1269 | .news-date { | ... | ... |
-
Please register or login to post a comment