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(email): Move send button in compose view (#1826)

Evan Hutnik8ef4711b758e
diff --git a/js/app/packages/block-email/component/ComposeEmailInput.tsx b/js/app/packages/block-email/component/ComposeEmailInput.tsx
index 003806f077..45edc6f83b 100644
--- a/js/app/packages/block-email/component/ComposeEmailInput.tsx
+++ b/js/app/packages/block-email/component/ComposeEmailInput.tsx
@@ -417,25 +417,24 @@ export function ComposeEmailInput(props: ComposeEmailInputProps) {
<Trash />
</Button>
</Show>
- <Button
- disabled={props.isSubmitting || props.disabled}
- onClick={() => {
- handleSend();
- }}
- class="text-ink-muted hover:scale-115 transition ease-in-out flex-col items-center rounded-full p-[0.25lh] hover:bg-transparent disabled:opacity-30"
- >
- <Show
- when={!props.isSubmitting}
- fallback={
- <Spinner class="size-6 animate-spin cursor-disabled" />
- }
- >
- <div class="group hover:bg-accent transition ease-in-out size-6 border border-accent rounded-full flex items-center justify-center p-0">
- <ArrowUp class="group-hover:!text-input group-hover:!fill-input !text-accent-ink !fill-accent size-4 transition ease-in-out" />
- </div>
- </Show>
- </Button>
</div>
+
+ <Button
+ disabled={props.isSubmitting || props.disabled}
+ onClick={() => {
+ handleSend();
+ }}
+ class="text-ink-muted hover:scale-115 transition ease-in-out flex-col items-center rounded-full p-[0.25lh] hover:bg-transparent disabled:opacity-30"
+ >
+ <Show
+ when={!props.isSubmitting}
+ fallback={<Spinner class="size-6 animate-spin cursor-disabled" />}
+ >
+ <div class="group hover:bg-accent transition ease-in-out size-6 border border-accent rounded-full flex items-center justify-center p-0">
+ <ArrowUp class="group-hover:!text-input group-hover:!fill-input !text-accent-ink !fill-accent size-4 transition ease-in-out" />
+ </div>
+ </Show>
+ </Button>
</Show>
</div>
</div>