Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Update participant dropdown

Luke Vellac0074869e898
diff --git a/apps/web/src/components/participant-dropdown.tsx b/apps/web/src/components/participant-dropdown.tsx
index 4ea30fc68..eef5ca6e8 100644
--- a/apps/web/src/components/participant-dropdown.tsx
+++ b/apps/web/src/components/participant-dropdown.tsx
@@ -35,7 +35,6 @@ import { useForm } from "react-hook-form";
import { useMount } from "react-use";
import { z } from "zod";
-import { OptimizedAvatarImage } from "@/components/optimized-avatar-image";
import { useDeleteParticipantMutation } from "@/components/poll/mutations";
import { Trans } from "@/components/trans";
import { useTranslation } from "@/i18n/client";
@@ -77,18 +76,13 @@ export const ParticipantDropdown = ({
</DropdownMenuTrigger>
<DropdownMenuContent align={align}>
<DropdownMenuLabel>
- <div className="flex items-center gap-x-2">
- <div>
- <OptimizedAvatarImage name={participant.name} size="md" />
- </div>
- <div className="grid gap-0.5">
- <div>{participant.name}</div>
- {participant.email ? (
- <div className="text-muted-foreground text-xs font-normal">
- {participant.email}
- </div>
- ) : null}
- </div>
+ <div className="grid gap-0.5">
+ <div>{participant.name}</div>
+ {participant.email ? (
+ <div className="text-muted-foreground text-xs font-normal">
+ {participant.email}
+ </div>
+ ) : null}
</div>
</DropdownMenuLabel>
<DropdownMenuSeparator />
diff --git a/apps/web/src/components/poll/desktop-poll/participant-row.tsx b/apps/web/src/components/poll/desktop-poll/participant-row.tsx
index 57c09b02d..07117675c 100644
--- a/apps/web/src/components/poll/desktop-poll/participant-row.tsx
+++ b/apps/web/src/components/poll/desktop-poll/participant-row.tsx
@@ -139,7 +139,7 @@ const ParticipantRow: React.FunctionComponent<ParticipantRowProps> = ({
align="start"
onEdit={() => onChangeEditMode?.(true)}
>
- <Button size="sm" variant="ghost">
+ <Button size="icon" variant="ghost">
<Icon>
<MoreHorizontalIcon />
</Icon>