Fix layout shift when renaming a channel (#3946)

Marshall Bowers created

This PR fixes the layout shift that would occur in the channel list when
opening a rename editor for a channel.

Release Notes:

- Fixed layout shift when opening a rename editor for a channel.

Change summary

crates/collab_ui/src/collab_panel.rs | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)

Detailed changes

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())
         }
     }
 }