From c772f94985245e3ddd2dae2782de0648b4bcf60f Mon Sep 17 00:00:00 2001 From: Darsh Poddar <114983070+drPod@users.noreply.github.com> Date: Mon, 17 Aug 2026 07:08:39 +0000 Subject: [PATCH] sidebar: Wrap import onboarding title when the panel is narrow (#62737) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Narrowing the agent sidebar clips the import-threads banner title mid-word. The title now wraps instead of overflowing the close button. Screenshot 2026-08-16 at 11 25 26 PM Release Notes: - Fixed the agent sidebar import-threads banner clipping its title when the panel is narrow --- crates/sidebar/src/sidebar.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/crates/sidebar/src/sidebar.rs b/crates/sidebar/src/sidebar.rs index a98997468f..10cec05c5a 100644 --- a/crates/sidebar/src/sidebar.rs +++ b/crates/sidebar/src/sidebar.rs @@ -7635,9 +7635,14 @@ fn render_import_onboarding_banner( .min_w_0() .w_full() .gap_1() + .items_start() .justify_between() - .flex_wrap() - .child(Label::new(title).size(LabelSize::Small)) + .child( + div() + .min_w_0() + .flex_1() + .child(Label::new(title).size(LabelSize::Small)), + ) .child( IconButton::new( SharedString::from(format!("close-{id}-onboarding")),