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.

Indent contacts in collab panel (#3773)

Marshall Bowers248458cef51c
diff --git a/crates/collab_ui2/src/collab_panel.rs b/crates/collab_ui2/src/collab_panel.rs
index b5b7a726d34..ad11877fd30 100644
--- a/crates/collab_ui2/src/collab_panel.rs
+++ b/crates/collab_ui2/src/collab_panel.rs
@@ -1871,6 +1871,8 @@ impl CollabPanel {
let github_login = SharedString::from(contact.user.github_login.clone());
let item =
ListItem::new(github_login.clone())
+ .indent_level(1)
+ .indent_step_size(px(20.))
.selected(is_selected)
.on_click(cx.listener(move |this, _, cx| this.call(user_id, cx)))
.child(
@@ -1968,6 +1970,8 @@ impl CollabPanel {
};
ListItem::new(github_login.clone())
+ .indent_level(1)
+ .indent_step_size(px(20.))
.selected(is_selected)
.child(
h_stack()