fix reactions modal styles

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk
2025-03-17 20:31:22 +01:00
parent 14aea7fa6d
commit 232a372f7a

View File

@ -84,11 +84,12 @@ const ReactionsModal: React.FC<BaseModalProps & ReactionsModalProps> = ({ onClos
{reactions.length > 0 && renderFilterBar()}
<ScrollableList
emptyMessage={emptyMessage}
listClassName={clsx('max-w-full', {
className={clsx({
'mt-4': reactions.length > 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}
>