Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
sidebar: Wrap import onboarding title when the panel is narrow (#62737)
Darsh Poddar91a6890df872
diff --git a/crates/sidebar/src/sidebar.rs b/crates/sidebar/src/sidebar.rsindex a98997468fd..10cec05c5aa 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")),