From af32f901ac0f056dad2d4f9069fed5ed47051d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ng=C3=B4=20Ng=E1=BB=8Dc=20=C4=90=E1=BB=A9c=20Huy?= Date: Fri, 11 Nov 2022 11:27:05 +0700 Subject: [PATCH] Set max-height for description container Without max-height, the description text can overflow the image, making it impossible to close. See issue #199: https://akkoma.dev/AkkomaGang/pleroma-fe/issues/199 --- src/components/attachment/attachment.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/attachment/attachment.scss b/src/components/attachment/attachment.scss index 2ef5cf4d..fe5dddbc 100644 --- a/src/components/attachment/attachment.scss +++ b/src/components/attachment/attachment.scss @@ -26,6 +26,7 @@ display: flex; padding-top: 0.5em; z-index: 1; + max-height: 50%; p { flex: 1;