diff options
| -rw-r--r-- | layouts/_partials/posts/webmention-replies.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/layouts/_partials/posts/webmention-replies.html b/layouts/_partials/posts/webmention-replies.html index 42f24579..d5384f11 100644 --- a/layouts/_partials/posts/webmention-replies.html +++ b/layouts/_partials/posts/webmention-replies.html @@ -34,11 +34,13 @@ </div> </header> - <div class="markdown-body leading-relaxed ml-3 pl-4 pr-2 b-l-4 b-l-solid b-neutral-200/50 dark:b-neutral-700/50"> - {{ index (index $reply.content 0) "html" | safeHTML }} - {{ if strings.Contains .webmention.source "https://brid.gy" }} - <p class="text-xs text-right text-secondary">通过 <a href="https://brid.gy/" target="_blank">Bridgy</a> 发送自联邦宇宙</p> - {{ end }} + <div class="max-h-[500px] overflow-y-auto overflow-x-hidden"> + <div class="markdown-body leading-relaxed ml-3 pl-4 pr-2 b-l-4 b-l-solid b-neutral-200/50 dark:b-neutral-700/50"> + {{ index (index $reply.content 0) "html" | safeHTML }} + {{ if strings.Contains .webmention.source "https://brid.gy" }} + <p class="text-xs text-right text-secondary">通过 <a href="https://brid.gy/" target="_blank">Bridgy</a> 发送自联邦宇宙</p> + {{ end }} + </div> </div> |
