From 54da3212cb9073d085912bc92cc4b476cdb090f0 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 1 Jun 2025 14:05:59 +0200 Subject: [PATCH] Add an independent scroll for each column --- app/ui/invitations/board.tsx | 68 ++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/app/ui/invitations/board.tsx b/app/ui/invitations/board.tsx index c151cbc..36f8fda 100644 --- a/app/ui/invitations/board.tsx +++ b/app/ui/invitations/board.tsx @@ -25,48 +25,48 @@ export default function InvitationsBoard({ guests, invitations }: { } return ( -
+
{/* Left Column: Guests */} -
-

Guests

-
    - {availableGuests.map((guest, index) => ( -
  • -

    {guest.name}

    -
  • - ))} -
+
+

Guests

+
    + {availableGuests.map((guest, index) => ( +
  • +

    {guest.name}

    +
  • + ))} +
{/* Right Column: Invitations */} -
-

Invitations

+
+

Invitations

- + +
+ {invitations.map((invitation, index) => ( +
- Create New Invitation - - -
- {invitations.map((invitation, index) => ( -
-
    - {invitation.guests.map((guest) => ( -
  • {guest.name}
  • - ))} -
-
+
    + {invitation.guests.map((guest) => ( +
  • {guest.name}
  • ))} +
+ ))} +
);