From 248458cef51cb86320ff429d9b40ce089e7a0da7 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Thu, 21 Dec 2023 23:35:50 -0500 Subject: [PATCH] Indent contacts in collab panel (#3773) This PR indents contacts in the collab panel. Release Notes: - N/A --- crates/collab_ui2/src/collab_panel.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/collab_ui2/src/collab_panel.rs b/crates/collab_ui2/src/collab_panel.rs index b5b7a726d3490464dc13df60c707f68222075def..ad11877fd3065f33fc558078eed541aa1f3602c3 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()