液态玻璃!!!!!!
This commit is contained in:
1 parent
8e86473429
commit
84a11df8b2
1 file changed
+6
-5
@@ -1873,14 +1873,15 @@ a.btn-secondary {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
帖子列表 —— 内容截断(保留换行)
|
帖子列表 —— 内容截断(纯 CSS)
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
#feed .post-content {
|
#feed .post-content {
|
||||||
max-height: 4.5em; /* 3 行 × 1.5em 行高 */
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
line-height: 1.5em;
|
max-height: none;
|
||||||
word-break: break-word;
|
line-height: 1.7;
|
||||||
white-space: normal;
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user