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.

feat(email): improve reply type dropdown UI with labels and better styling (#3547)

teof469e3fa0148
diff --git a/js/app/packages/block-email/component/BaseInput.tsx b/js/app/packages/block-email/component/BaseInput.tsx
index aba2e7dd22..d936d8945d 100644
--- a/js/app/packages/block-email/component/BaseInput.tsx
+++ b/js/app/packages/block-email/component/BaseInput.tsx
@@ -1340,17 +1340,20 @@ export function BaseInput(props: {
{/* Top Bar */}
<div class="relative flex items-start gap-2 px-3 pt-1.5 pb-0.5">
<Dropdown>
- <Dropdown.Trigger class="p-0 pr-1 gap-0">
+ <Dropdown.Trigger>
<Switch>
<Match when={effectiveReplyType() === 'reply'}>
- <Reply class="h-7 p-1" />
+ <Reply class="size-4 shrink-0" />
+ <span>Reply</span>
</Match>
<Match when={effectiveReplyType() === 'reply-all'}>
- <ReplyAll class="h-7 p-1" />
+ <ReplyAll class="size-4 shrink-0" />
+ <span>Reply All</span>
</Match>
<Match when={effectiveReplyType() === 'forward'}>
- <Forward class="h-7 p-1" />
+ <Forward class="size-4 shrink-0" />
+ <span>Forward</span>
</Match>
</Switch>
<ChevronDown class="size-3" />