From bddb3b97fa827a67bf1708f38199b3562deb1edd Mon Sep 17 00:00:00 2001 From: arne Date: Fri, 21 Nov 2025 13:47:19 +0100 Subject: [PATCH] Handle attachments with height < 320px --- public/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 5742287..b07109c 100644 --- a/public/index.html +++ b/public/index.html @@ -228,13 +228,18 @@ section.posts .post .attachments { margin-top: 16px; - height: 320px; + max-height: 320px; display: flex; align-items: flex-start; max-width: 100%; overflow: auto; } + section.posts .post .attachments img, + section.posts .post .attachments video { + max-height: 320px; + } + section.posts .post .controls { margin: 24px 0 0; padding: 0;