Skip to content

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

💄 Update participant row styles

Luke Vellad826f57050f7
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 ec46c72f0..57c09b02d 100644
--- a/apps/web/src/components/poll/desktop-poll/participant-row.tsx
+++ b/apps/web/src/components/poll/desktop-poll/participant-row.tsx
@@ -50,19 +50,19 @@ export const ParticipantRowView: React.FunctionComponent<{
style={{ minWidth: 240, maxWidth: 240 }}
className="sticky left-0 z-10 h-12 bg-white px-4"
>
- <div className="flex max-w-full items-center justify-between gap-x-4">
- <div className="min-w-0">
- <Participant>
- <OptimizedAvatarImage size="xs" name={name} />
- <ParticipantName>{name}</ParticipantName>
- {isYou ? (
- <Badge>
- <Trans i18nKey="you" />
- </Badge>
- ) : null}
- </Participant>
+ <div className="flex max-w-full items-center justify-between gap-x-2">
+ <Participant>
+ <OptimizedAvatarImage size="xs" name={name} />
+ <ParticipantName>{name}</ParticipantName>
+ </Participant>
+ <div className="flex items-center gap-x-2">
+ {isYou ? (
+ <Badge className="shrink-0">
+ <Trans i18nKey="you" />
+ </Badge>
+ ) : null}
+ {action}
</div>
- <div>{action}</div>
</div>
</td>
{votes.map((vote, i) => {