From 7b40f14452be3a15c9172c776f650eb8e3ef9079 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 4 Oct 2024 16:55:44 +0200 Subject: [PATCH] [Glitch] Fix media gallery items having incorrect borders when hidden Port 51769e06708f79a485c444d139cbdbdd7249b0cb to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/components/media_gallery.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/components/media_gallery.jsx b/app/javascript/flavours/glitch/components/media_gallery.jsx index 5b1e56185e..f2f8b21e3b 100644 --- a/app/javascript/flavours/glitch/components/media_gallery.jsx +++ b/app/javascript/flavours/glitch/components/media_gallery.jsx @@ -356,14 +356,14 @@ class MediaGallery extends PureComponent { return (
+ {children} + {(!visible || uncached) && (
{spoilerButton}
)} - {children} - {(visible && !uncached) && (