Fix scrollable list in modals

environments/review-develop-3zknud/deployments/3536^2
oakes 2023-06-24 18:47:16 -04:00
rodzic ade9fa007d
commit b96828ad23
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -42,6 +42,8 @@ const FavouritesModal: React.FC<IFavouritesModal> = ({ onClose, statusId }) => {
emptyMessage={emptyMessage}
className='max-w-full'
itemClassName='pb-3'
style={{ height: '80vh' }}
useWindowScroll={false}
>
{accountIds.map(id =>
<AccountContainer key={id} id={id} />,

Wyświetl plik

@ -43,6 +43,8 @@ const ReblogsModal: React.FC<IReblogsModal> = ({ onClose, statusId }) => {
emptyMessage={emptyMessage}
className='max-w-full'
itemClassName='pb-3'
style={{ height: '80vh' }}
useWindowScroll={false}
>
{accountIds.map((id) =>
<AccountContainer key={id} id={id} />,