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(web): restore email Back and composer action icon styling (#9087)

teod7b676e374ec
diff --git a/apps/web/src/features/channel/Input/InputActions.tsx b/apps/web/src/features/channel/Input/InputActions.tsx
index a70d6fefc5..e97bcf040b 100644
--- a/apps/web/src/features/channel/Input/InputActions.tsx
+++ b/apps/web/src/features/channel/Input/InputActions.tsx
@@ -77,7 +77,9 @@ export function AttachFilesAction(
disabled={props.disabled}
onClick={() => fileInputRef?.click()}
>
- {props.children ?? <PaperclipIcon />}
+ {props.children ?? (
+ <PaperclipIcon class="size-5 touch:size-6 shrink-0 pointer-events-none" />
+ )}
</InputActionButton>
)}
</>
@@ -129,7 +131,7 @@ export function AttachNativeMediaAction() {
label="Attach photos or videos"
onClick={() => fireAndForget(onAttachMedia(), 'channel-input')}
>
- <PaperclipIcon />
+ <PaperclipIcon class="size-5 touch:size-6 shrink-0 pointer-events-none" />
</InputActionButton>
</>
);
@@ -145,7 +147,7 @@ export function ToggleFormatAction() {
active={input().showFormatRibbon}
onClick={() => commands.toggleFormatRibbon()}
>
- <FormatIcon />
+ <FormatIcon class="size-5 touch:size-6 shrink-0 pointer-events-none" />
</InputActionButton>
);
}
@@ -155,7 +157,7 @@ export function CloseReplyAction() {
return (
<InputActionButton label="Delete reply" onClick={() => commands.close()}>
- <TrashIcon />
+ <TrashIcon class="size-5 touch:size-6 shrink-0 pointer-events-none" />
</InputActionButton>
);
}
@@ -165,7 +167,7 @@ export function DiscardDraftAction() {
return (
<InputActionButton label="Discard Edit" onClick={() => commands.close()}>
- <TrashIcon />
+ <TrashIcon class="size-5 touch:size-6 shrink-0 pointer-events-none" />
</InputActionButton>
);
}
diff --git a/apps/web/src/features/email-view/components/EmailDetailView.tsx b/apps/web/src/features/email-view/components/EmailDetailView.tsx
index 4bf8578809..ae039998c0 100644
--- a/apps/web/src/features/email-view/components/EmailDetailView.tsx
+++ b/apps/web/src/features/email-view/components/EmailDetailView.tsx
@@ -247,8 +247,14 @@ export function EmailDetailView(props: {
{/* The subject sits atop the thread, so the header only goes
back; the reading pane already shows the list beside it. */}
<Show when={!pane}>
- <Button size="icon-md" aria-label="Back" onClick={closeThread}>
- <ArrowLeftIcon />
+ <Button
+ variant="ghost"
+ size="icon-md"
+ tooltip="Back"
+ aria-label="Back"
+ onClick={closeThread}
+ >
+ <ArrowLeftIcon class="size-4" />
</Button>
</Show>
<div ref={setHeaderMenuMount} class="flex items-center" />
diff --git a/apps/web/src/lib/core/comments/discussion/DiscussionInput.tsx b/apps/web/src/lib/core/comments/discussion/DiscussionInput.tsx
index 55cae0fa60..79c5428f1f 100644
--- a/apps/web/src/lib/core/comments/discussion/DiscussionInput.tsx
+++ b/apps/web/src/lib/core/comments/discussion/DiscussionInput.tsx
@@ -86,7 +86,7 @@ function AttachImagesAction() {
label="Attach images"
onClick={() => fileInputRef?.click()}
>
- <PaperclipIcon />
+ <PaperclipIcon class="size-5 touch:size-6 shrink-0 pointer-events-none" />
</InputActionButton>
</>
);