Indent contacts in collab panel (#3773)

This PR indents contacts in the collab panel.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2023-12-21 23:35:50 -05:00
committed by GitHub
parent cd9156886f
commit 248458cef5
+4
View File
@@ -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()