Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(forms): strengthen poll result bar fills (#8335)

Wolf Mermelstein72cfadca8593
diff --git a/apps/web/src/features/block-form/components/poll/poll-bars.tsx b/apps/web/src/features/block-form/components/poll/poll-bars.tsx
index 5ca0238830..618394a811 100644
--- a/apps/web/src/features/block-form/components/poll/poll-bars.tsx
+++ b/apps/web/src/features/block-form/components/poll/poll-bars.tsx
@@ -92,11 +92,13 @@ export function PollBars(props: {
}}
>
<Show when={props.showResults}>
+ {/* accent-bg is the voted button fill; active is 6% ink.
+ Matching those made the bar invisible. */}
<span
aria-hidden="true"
class={cn(
'absolute inset-y-0 left-0 transition-[width] duration-300 motion-reduce:transition-none',
- bar().mine ? 'bg-accent-bg' : 'bg-active'
+ bar().mine ? 'bg-accent/20' : 'bg-ink/10'
)}
style={{ width: `${bar().percent}%` }}
/>