Skip to content

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

🐛 Fix vote icon position

Luke Vella2d9c49860e19
diff --git a/apps/web/src/components/poll/mobile-poll/poll-option.tsx b/apps/web/src/components/poll/mobile-poll/poll-option.tsx
index 71e97b3b6..7d672bbdf 100644
--- a/apps/web/src/components/poll/mobile-poll/poll-option.tsx
+++ b/apps/web/src/components/poll/mobile-poll/poll-option.tsx
@@ -73,7 +73,7 @@ const PollOptionVoteSummary: React.FunctionComponent<{ optionId: string }> = ({
<VoteIcon
type="ifNeedBe"
size="sm"
- className="-translate-x-1.5 absolute bottom-full left-full translate-y-2.5 rounded-full bg-background"
+ className="-translate-x-1 absolute bottom-full left-full translate-y-2 rounded-full bg-background"
/>
</div>
<div className="truncate text-sm"> {name}</div>
@@ -89,7 +89,7 @@ const PollOptionVoteSummary: React.FunctionComponent<{ optionId: string }> = ({
<VoteIcon
type="no"
size="sm"
- className="-translate-x-1.5 absolute bottom-full left-full translate-y-2.5 rounded-full bg-background"
+ className="-translate-x-1 absolute bottom-full left-full translate-y-2 rounded-full bg-background"
/>
</div>
<div className="truncate text-sm">{name}</div>