From f800e39b39f69c79454ed027e5f87a0e169f041a Mon Sep 17 00:00:00 2001 From: Matthew Ball <13823657+matthewrball@users.noreply.github.com> Date: Wed, 28 Oct 2026 16:57:04 -0700 Subject: [PATCH] Agent: tighten the task toolbar and unify its canvas --- apps/maple-agent/app/src/ui/chat/composer.rs | 2 +- apps/maple-agent/app/src/ui/chat/mod.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/maple-agent/app/src/ui/chat/composer.rs b/apps/maple-agent/app/src/ui/chat/composer.rs index 966654cfb..b7d419c44 100644 --- a/apps/maple-agent/app/src/ui/chat/composer.rs +++ b/apps/maple-agent/app/src/ui/chat/composer.rs @@ -116,7 +116,7 @@ impl ChatScreen { .flex_none() .pl(inset) .pr_3() - .bg(gpui::rgb(theme::bg_sidebar())), + .bg(gpui::rgb(theme::bg_app())), ) .child( div() diff --git a/apps/maple-agent/app/src/ui/chat/mod.rs b/apps/maple-agent/app/src/ui/chat/mod.rs index a7988846b..07865b6e8 100644 --- a/apps/maple-agent/app/src/ui/chat/mod.rs +++ b/apps/maple-agent/app/src/ui/chat/mod.rs @@ -135,7 +135,7 @@ impl SidebarTransition { } } /// Height of the task header and the clear strip above the collapsed rail. -const CHAT_HEADER_HEIGHT: gpui::Pixels = px(40.); +const CHAT_HEADER_HEIGHT: gpui::Pixels = px(36.); /// Left inset for the header beside the rail: the traffic lights reach /// 30 px past it, followed by an 8 px gap when the bar is transparent. const SIDEBAR_COLLAPSED_INSET: gpui::Pixels = if titlebar::TRANSPARENT_TITLEBAR { @@ -6791,7 +6791,7 @@ impl Render for ChatScreen { .flex_1() .h_full() .min_w_0() - .bg(gpui::rgb(theme::bg_sidebar())) + .bg(gpui::rgb(theme::bg_app())) .child( // The header is the window's title bar; a wheel // over it scrolls nothing. @@ -6804,7 +6804,6 @@ impl Render for ChatScreen { .flex_col() .flex_1() .min_h_0() - .rounded_tl(theme::RADIUS_LG) .bg(gpui::rgb(theme::bg_app())) .child(main), ),