From 49af32492ab2437c8f97518c9d8c3e936c13268a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicole=20Miko=C5=82ajczyk?= Date: Fri, 11 Apr 2025 08:51:09 +0200 Subject: [PATCH] pl-fe: reactions modal styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicole Mikołajczyk --- .../src/features/ui/components/modals/reactions-modal.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/pl-fe/src/features/ui/components/modals/reactions-modal.tsx b/packages/pl-fe/src/features/ui/components/modals/reactions-modal.tsx index d8791c646..978b9c696 100644 --- a/packages/pl-fe/src/features/ui/components/modals/reactions-modal.tsx +++ b/packages/pl-fe/src/features/ui/components/modals/reactions-modal.tsx @@ -84,10 +84,9 @@ const ReactionsModal: React.FC = ({ onClos {reactions.length > 0 && renderFilterBar()} 0, + listClassName={clsx('max-w-full', { + '!mt-4': reactions.length > 0, })} - listClassName='max-w-full' itemClassName='pb-3' style={{ height: reactions.length > 0 ? 'calc(80vh - 159px)' : 'calc(80vh - 88px)' }} isLoading={typeof isLoading === 'boolean' ? isLoading : true}