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: match agent composer bottom margins to the channel input (#7045)

teo2faa4b014b53
diff --git a/apps/web/src/features/agents-view/agents-view.css b/apps/web/src/features/agents-view/agents-view.css
index ca9dc9bdf4..7f7646a4f4 100644
--- a/apps/web/src/features/agents-view/agents-view.css
+++ b/apps/web/src/features/agents-view/agents-view.css
@@ -2103,8 +2103,10 @@
}
}
+ /* Bottom padding matches ChannelInputContainer (pb-2.5) so the composer
+ sits at the same height as the channel input. */
:where(.agents-view, .agents-view-portal) .pane .dock {
- padding: 0 16px 16px;
+ padding: 0 16px 10px;
flex-shrink: 0;
}
diff --git a/apps/web/src/features/block-agent/component/Block.tsx b/apps/web/src/features/block-agent/component/Block.tsx
index 94af7d9763..d0d9a59e67 100644
--- a/apps/web/src/features/block-agent/component/Block.tsx
+++ b/apps/web/src/features/block-agent/component/Block.tsx
@@ -128,7 +128,9 @@ function AgentBlockContent(props: {
<FloatRegionOrInline region="accessory">
{/* Home/chat: re-enable pointer events on the accessory
contribution — the float host is pointer-transparent. */}
- <div class="flex w-full justify-center shrink-0 px-4 pb-4.5 pointer-events-auto touch:px-(--mobile-chrome-gutter) touch:pb-0">
+ {/* pb matches ChannelInputContainer so the composer sits at
+ the same height as the channel input. */}
+ <div class="flex w-full justify-center shrink-0 px-4 pb-2.5 pointer-events-auto touch:px-(--mobile-chrome-gutter) touch:pb-0">
<div class="macro-message-width mx-auto flex flex-col gap-2">
<ChangesHandoff />
<ReviewNotesDock />