From 599d81f9246ed2f8f9e28e75a6f3751b8918d0c0 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 5 Jan 2023 15:28:04 +0800 Subject: [PATCH] Disable card if there's a poll or media attachment Regardless of the size --- src/components/status.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index a9c34714..0e74cebb 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -434,8 +434,8 @@ function Status({ {!!card && !sensitive && !spoilerText && - (size === 'l' || - (size === 'm' && !poll && !mediaAttachments.length)) && ( + !poll && + !mediaAttachments.length && (