feat(better modalInviteMatch): Better modal match

This commit is contained in:
Laurian-Dufrechou
2023-05-20 18:46:13 +02:00
parent 0eaac821e3
commit 97be61a48d
5 changed files with 15 additions and 13 deletions
+5 -2
View File
@@ -104,7 +104,7 @@ export default function ModalInviteBar({
<>
<Modal
blockScrollOnMount={false}
size={"2xl"}
size={"3xl"}
isOpen={isOpen}
onClose={onClose}
scrollBehavior={"inside"}
@@ -119,7 +119,10 @@ export default function ModalInviteBar({
<ModalBody>
<Grid
{...getRootProps()}
templateColumns={`repeat(${notificationMatch?.length}, 1fr)`}
templateColumns={`repeat(${notificationMatch?.length}, 50%)`}
// templateColumns={`repeat(auto-fill, ${notificationMatch?.length})`}
// make all items be in the same line and make it scrollable horizontally
gap={6}
>
{!isError && !error