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(block-md): match Copy as prompt island to header actions (#8924)

Jacob Beckerman2211047806d3
diff --git a/apps/web/src/features/block-md/component/DispatchAgentMenu.tsx b/apps/web/src/features/block-md/component/DispatchAgentMenu.tsx
index ee6ec877a6..ad1335710a 100644
--- a/apps/web/src/features/block-md/component/DispatchAgentMenu.tsx
+++ b/apps/web/src/features/block-md/component/DispatchAgentMenu.tsx
@@ -334,10 +334,10 @@ export function DispatchAgentButton(
<ButtonGroup
variant="outline"
size={props.showPrimaryLabel ? 'md' : 'icon-sm'}
- depth={2}
>
<Dynamic
component={lastUsed().key === 'copy' ? CopyButton : Button}
+ variant="ghost"
onClick={executeLastUsed}
tooltip={lastUsed().name}
class="@max-[600px]/split-header:w-8 @max-[600px]/split-header:p-0"
@@ -354,7 +354,7 @@ export function DispatchAgentButton(
</Dynamic>
<ButtonGroup.Divider />
<Dropdown.Trigger
- variant="outline"
+ variant="ghost"
size={props.showPrimaryLabel ? 'icon-md' : 'icon-sm'}
label="Agent options"
>