From 248a0541c0084527ea56a413028ace6d3ec14c60 Mon Sep 17 00:00:00 2001 From: Claire Date: Sat, 8 Mar 2025 16:13:04 +0100 Subject: [PATCH] [Glitch] Fix media preview height in compose form when 3 or more images are attached (#2988) Port 50449ae7ac57a12d81e0a3e2a6d6197af578e675 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/styles/components.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/javascript/flavours/glitch/styles/components.scss b/app/javascript/flavours/glitch/styles/components.scss index 1258368dd7..97e164ab14 100644 --- a/app/javascript/flavours/glitch/styles/components.scss +++ b/app/javascript/flavours/glitch/styles/components.scss @@ -7181,6 +7181,8 @@ img.modal-warning { } &--layout-3 { + min-height: calc(64px * 2 + 8px); + & > .media-gallery__item:nth-child(1) { border-end-end-radius: 0; border-start-end-radius: 0; @@ -7200,6 +7202,8 @@ img.modal-warning { } &--layout-4 { + min-height: calc(64px * 2 + 8px); + & > .media-gallery__item:nth-child(1) { border-end-end-radius: 0; border-start-end-radius: 0;