feat: SSR 帖子修订历史列表与快照

作者与管理员可查看编辑前版本,帖详情增加修订入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-29 22:28:04 +08:00
parent c32c81d1ca
commit f10ba99012
9 changed files with 186 additions and 2 deletions

View File

@@ -948,3 +948,16 @@ points-only[data-locked="false"] {
font-size: 0.85rem;
}
.j13-rev-list { list-style: none; margin: 1rem 0; padding: 0; }
.j13-rev-item { border-bottom: 1px solid var(--j13-border); }
.j13-rev-item a {
display: flex;
flex-direction: column;
gap: 0.2rem;
padding: 0.75rem 0;
color: inherit;
text-decoration: none;
}
.j13-rev-item a:hover strong { color: var(--j13-accent); }
.j13-rev-snapshot { margin-top: 1rem; }