From 72de75dd45ea5a835af1600e9b4047af660eafe8 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 8 Jan 2024 13:24:56 -0500 Subject: [PATCH] Adjust spacing of extra call participant count indicator (#3945) This PR adjusts the spacing of the indicator showing the number of extra call participants that appears after the facepile: Screenshot 2024-01-08 at 1 09 39 PM Release Notes: - Added more space between the call participant facepile and the number indicating additional call participants. --- crates/collab_ui/src/collab_panel.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs index ac0925e7b0b6230ab2688d421af77ae5333f3d56..5acbca8ffe70f286922f479d0eef381abf9eac56 100644 --- a/crates/collab_ui/src/collab_panel.rs +++ b/crates/collab_ui/src/collab_panel.rs @@ -2211,8 +2211,12 @@ impl CollabPanel { .map(|user| Avatar::new(user.avatar_uri.clone()).into_any_element()) .take(FACEPILE_LIMIT) .chain(if extra_count > 0 { - // todo!() @nate - this label looks wrong. - Some(Label::new(format!("+{}", extra_count)).into_any_element()) + Some( + div() + .ml_1() + .child(Label::new(format!("+{extra_count}"))) + .into_any_element(), + ) } else { None })