From 232a372f7ac24b6a158e7af67b39451df7565df2 Mon Sep 17 00:00:00 2001 From: mkljczk Date: Mon, 17 Mar 2025 20:31:22 +0100 Subject: [PATCH] fix reactions modal styles Signed-off-by: mkljczk --- .../src/features/ui/components/modals/reactions-modal.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 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 6c0eae005..d8791c646 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,11 +84,12 @@ const ReactionsModal: React.FC = ({ onClos {reactions.length > 0 && renderFilterBar()} 0, })} + listClassName='max-w-full' itemClassName='pb-3' - style={{ height: 'calc(80vh - 88px)' }} + style={{ height: reactions.length > 0 ? 'calc(80vh - 159px)' : 'calc(80vh - 88px)' }} isLoading={typeof isLoading === 'boolean' ? isLoading : true} useWindowScroll={false} >