fix: 修复评论区内容被截断的问题

- 移除 #comments 和 #post_comment 的默认 overflow: hidden
- 仅在折叠状态 (.comments-collapsed) 时应用 overflow: hidden
- 确保点赞按钮和操作按钮正常显示
This commit is contained in:
2026-01-16 16:16:27 +08:00
parent 600a78e8bc
commit 64513e3dc5

View File

@@ -4920,10 +4920,13 @@ html.darkmode .has-thumbnail .related-post-title.clamp {
max-height var(--animation-slow) var(--ease-emphasized), max-height var(--animation-slow) var(--ease-emphasized),
margin var(--animation-slow) var(--ease-standard), margin var(--animation-slow) var(--ease-standard),
padding var(--animation-slow) var(--ease-standard); padding var(--animation-slow) var(--ease-standard);
overflow: hidden;
will-change: opacity, max-height; will-change: opacity, max-height;
} }
#comments.comments-collapsed, #post_comment.comments-collapsed {
overflow: hidden;
}
#comments.comments-collapsed { #comments.comments-collapsed {
max-height: 0 !important; max-height: 0 !important;
opacity: 0; opacity: 0;