From ffa3f2a8b5216b76d14412904b66f75d87b155e9 Mon Sep 17 00:00:00 2001 From: matty Date: Sat, 14 Feb 2026 14:39:03 +0000 Subject: [PATCH] fix regressiosn --- .../pl-fe/src/components/media-gallery.tsx | 2 +- .../pl-fe/src/components/parsed-content.tsx | 2 +- .../pl-fe/src/components/status-content.tsx | 2 +- packages/pl-fe/src/features/emoji/emojify.tsx | 12 +- .../src/modals/compare-history-modal.tsx | 2 +- packages/pl-fe/src/modals/media-modal.tsx | 391 ++++++++++-------- 6 files changed, 237 insertions(+), 174 deletions(-) diff --git a/packages/pl-fe/src/components/media-gallery.tsx b/packages/pl-fe/src/components/media-gallery.tsx index c78f83d24..e6340567d 100644 --- a/packages/pl-fe/src/components/media-gallery.tsx +++ b/packages/pl-fe/src/components/media-gallery.tsx @@ -185,7 +185,7 @@ const Item: React.FC = ({ target='_blank' > { const text = speakAsCat ? nyaize(data) : data; - return ; + return ; }; const options: HTMLReactParserOptions = { diff --git a/packages/pl-fe/src/components/status-content.tsx b/packages/pl-fe/src/components/status-content.tsx index 32622ca17..47d8230ea 100644 --- a/packages/pl-fe/src/components/status-content.tsx +++ b/packages/pl-fe/src/components/status-content.tsx @@ -195,7 +195,7 @@ const StatusContent: React.FC = React.memo(({ {...(expandable ? { onClick: toggleExpanded, role: 'button' } : {})} > - + {expandable && ( -
+ )} + +
+
+ {content} +
+
+ + {hasMultipleImages && ( +
- + )} +
+ + {hasMultipleImages && ( +
+ + {media.map((attachment, i) => ( + + ))} + +
)} - {status ? ( + + {status && ( = (props) => { expandable /> - ) : } - - + )} + - {status && ( - - )} + {status && ( + + )} + ); };