💄 Update poll page (#1672)

This commit is contained in:
Luke Vella 2025-04-17 17:21:19 +01:00 committed by GitHub
parent 12651abd0c
commit cf90e7a6df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 95 additions and 55 deletions

View file

@ -14,11 +14,13 @@ export function PollListItem({
status,
participants,
inviteLink,
pollLink,
}: {
title: string;
status: PollStatus;
participants: { id: string; name: string; image?: string }[];
inviteLink: string;
pollLink: string;
}) {
return (
<StackedListItem>
@ -26,7 +28,7 @@ export function PollListItem({
<PollStatusIcon status={status} showTooltip={false} />
<Link
className="focus:ring-ring min-w-0 text-sm font-medium hover:underline focus-visible:ring-2"
href={inviteLink}
href={pollLink}
>
<span className="absolute inset-0" />
<span className="block truncate">{title}</span>