From 998f701a2b2e37edbda7dffb11a61f67f5559b18 Mon Sep 17 00:00:00 2001 From: neatchee Date: Thu, 29 Dec 2022 17:50:05 -0800 Subject: [PATCH] Fix assumed height of media for auto-collapse heigh calculations (I typo'd the original mod, whoops!) (#11) --- app/javascript/flavours/glitch/components/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index f1e92d26bd..fc1e6708d1 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -253,7 +253,7 @@ class Status extends ImmutablePureComponent { let autoCollapseHeight = parseInt(autoCollapseSettings.get('height')); if (status.get('media_attachments').size && !muted) { - autoCollapseHeight += 300; + autoCollapseHeight += 210; } if (collapse || autoCollapseSettings.get('all') ||