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 layout shift when renaming a channel (#3946)

Marshall Bowers5e401e4550f6
diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs
index 5acbca8ffe7..86d0131d70a 100644
--- a/crates/collab_ui/src/collab_panel.rs
+++ b/crates/collab_ui/src/collab_panel.rs
@@ -2398,12 +2398,7 @@ impl CollabPanel {
{
item.child(Label::new(pending_name))
} else {
- item.child(
- div()
- .w_full()
- .py_1() // todo!() @nate this is a px off at the default font size.
- .child(self.channel_name_editor.clone()),
- )
+ item.child(self.channel_name_editor.clone())
}
}
}