Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent: Fix toolbar spacing (#28485)

Danilo Leale20daa763924
diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rs
index 2c950184acb..6faa131df89 100644
--- a/crates/agent/src/assistant_panel.rs
+++ b/crates/agent/src/assistant_panel.rs
@@ -863,7 +863,11 @@ impl AssistantPanel {
.truncate()
.into_any_element()
} else {
- change_title_editor.clone().into_any_element()
+ div()
+ .ml_2()
+ .w_full()
+ .child(change_title_editor.clone())
+ .into_any_element()
}
}
ActiveView::PromptEditor => {