Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
💄 Use the default vote icon size in the new participant vote summary (#3527)
Luke Vella526864908ebe
diff --git a/apps/web/src/features/poll/components/new-participant-modal.tsx b/apps/web/src/features/poll/components/new-participant-modal.tsxindex c1fde4954..6b83e98b5 100644--- a/apps/web/src/features/poll/components/new-participant-modal.tsx+++ b/apps/web/src/features/poll/components/new-participant-modal.tsx@@ -93,7 +93,7 @@ const VoteSummary = ({>{availableCount > 0 ? (<span className="flex items-center gap-1.5 text-foreground text-sm">- <VoteIcon type="yes" className="size-4" />+ <VoteIcon type="yes" /><Transi18nKey="voteSummaryAvailable"defaults="{availableCount} of {total} available"@@ -102,7 +102,7 @@ const VoteSummary = ({</span>) : ifNeedBeCount === 0 ? (<span className="flex items-center gap-1.5 text-foreground text-sm">- <VoteIcon type="no" className="size-4" />+ <VoteIcon type="no" /><Transi18nKey="voteSummaryNotAvailable"defaults="You're not available"@@ -115,7 +115,7 @@ const VoteSummary = ({<span aria-hidden="true" className="h-4 w-px bg-input" />) : null}<span className="flex items-center gap-1.5 text-foreground text-sm">- <VoteIcon type="ifNeedBe" className="size-4" />+ <VoteIcon type="ifNeedBe" /><Transi18nKey="voteSummaryIfNeedBe"defaults="{count} if need be"