Skip to content

Commit

Permalink
Tweak EventAgenda display
Browse files Browse the repository at this point in the history
  • Loading branch information
parkerdavis1 committed Dec 28, 2023
1 parent 17eb256 commit 0aab36e
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions app/components/EventAgenda.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,18 @@ function PositionStatus({ volunteerType, event }: PositionStatusProps) {

export function EventAgenda({ event }: { event: EventWithVolunteers }) {
return (
<div className="flex min-w-[20rem] gap-4">
<div className="grow basis-40">{event.title}</div>
<div className="flex shrink-0 basis-72 flex-col text-sm">
{volunteerTypes.map(volunteerType => (
<PositionStatus
key={volunteerType.field}
volunteerType={volunteerType}
event={event}
/>
))}
<div className="flex min-w-[25rem] gap-4">
<div className="shrink-0 grow basis-40">{event.title}</div>
<div className="flex shrink-0 grow basis-72 flex-col text-sm">
<div className="max-w-sm">
{volunteerTypes.map(volunteerType => (
<PositionStatus
key={volunteerType.field}
volunteerType={volunteerType}
event={event}
/>
))}
</div>
</div>
</div>
)
Expand Down

0 comments on commit 0aab36e

Please sign in to comment.