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.

Fix zero-sized message editors when context strip is empty (#30079)

Antonio Scandurra9711fb49dc34
diff --git a/crates/agent/src/message_editor.rs b/crates/agent/src/message_editor.rs
index cb096231eb0..061ad6335cc 100644
--- a/crates/agent/src/message_editor.rs
+++ b/crates/agent/src/message_editor.rs
@@ -637,7 +637,7 @@ impl MessageEditor {
this.h(vh(0.8, window)).justify_between()
})
.child(
- div()
+ v_flex()
.min_h_16()
.when(is_editor_expanded, |this| this.h_full())
.child({