Increase the indent step size for the collab panel (#3772)

Marshall Bowers created

This PR increases the indent step size for the collab panel.

This gives the channel list a clearer hierarchy for nested channels, as
well as help align the disclosures with the parent channel's icon.

Release Notes:

- N/A

Change summary

crates/collab_ui2/src/collab_panel.rs | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

crates/collab_ui2/src/collab_panel.rs 🔗

@@ -2120,6 +2120,7 @@ impl CollabPanel {
                 ListItem::new(channel_id as usize)
                     // Add one level of depth for the disclosure arrow.
                     .indent_level(depth + 1)
+                    .indent_step_size(px(20.))
                     .selected(is_selected || is_active)
                     .toggle(disclosed)
                     .on_toggle(
@@ -2190,6 +2191,7 @@ impl CollabPanel {
             .inset(false)
             // Add one level of depth for the disclosure arrow.
             .indent_level(depth + 1)
+            .indent_step_size(px(20.))
             .start_slot(
                 IconElement::new(Icon::Hash)
                     .size(IconSize::Small)