Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(email): recipient reply card styling (#4878)
teo41079623dbd4
diff --git a/apps/web/src/features/block-email/component/FromInboxSelector.tsx b/apps/web/src/features/block-email/component/FromInboxSelector.tsxindex f8b084e98e..ed8bc9151e 100644--- a/apps/web/src/features/block-email/component/FromInboxSelector.tsx+++ b/apps/web/src/features/block-email/component/FromInboxSelector.tsx@@ -3,7 +3,7 @@ import { UserIcon } from '@core/component/UserIcon';import { emailToMacroId, useDisplayName } from '@core/user';import ChevronDown from '@phosphor/caret-down.svg';import Check from '@phosphor/check.svg';-import { Dropdown } from '@ui';+import { cn, Dropdown } from '@ui';import { For, Show } from 'solid-js';type FromInbox = {@@ -38,7 +38,12 @@ function FromInboxPill(props: { inbox: FromInbox; selectable: boolean }) {const label = () => name() || props.inbox.email_address;return (- <div class="flex flex-row shrink-0 py-1 pl-2 gap-1 pr-2 overflow-hidden items-center bg-active rounded-full text-ink">+ <div+ class={cn(+ 'flex flex-row shrink-0 py-1 pl-2 gap-1 pr-2 overflow-hidden items-center bg-active rounded-full text-ink',+ props.selectable && 'hover:bg-hover'+ )}+ ><UserIcon{...inboxIconProps(props.inbox.email_address)}photoUrl={props.inbox.photo_url ?? undefined}@@ -125,7 +130,10 @@ export function FromInboxSelector(props: {><Dropdown><Dropdown.Trigger- class={`inline-flex min-w-0 max-w-full ${props.class ?? ''}`}+ class={cn(+ 'inline-flex h-auto min-w-0 max-w-full rounded-full border-none bg-transparent p-0 not-disabled:hover:bg-transparent active:bg-transparent',+ props.class+ )}><FromInboxPill inbox={active()} selectable={true} /></Dropdown.Trigger>