From ee6495dce4012019ccc235486afa800da443d680 Mon Sep 17 00:00:00 2001 From: Cameron Mcloughlin Date: Tue, 7 Apr 2026 09:02:40 +0100 Subject: [PATCH] collab: Fix UI font size scaling (#53290) --- crates/collab_ui/src/collab_panel.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs index 8d0cdf351163dadf0ac8cbf6a8dc04886f30f583..1e1aab3b9d4aa0e48ad4a84ec77bdc6dff51c7f5 100644 --- a/crates/collab_ui/src/collab_panel.rs +++ b/crates/collab_ui/src/collab_panel.rs @@ -1181,7 +1181,6 @@ impl CollabPanel { .into(); ListItem::new(project_id as usize) - .height(px(24.)) .toggle_state(is_selected) .on_click(cx.listener(move |this, _, window, cx| { this.workspace @@ -1222,7 +1221,6 @@ impl CollabPanel { let id = peer_id.map_or(usize::MAX, |id| id.as_u64() as usize); ListItem::new(("screen", id)) - .height(px(24.)) .toggle_state(is_selected) .start_slot( h_flex() @@ -1269,7 +1267,6 @@ impl CollabPanel { let has_channel_buffer_changed = channel_store.has_channel_buffer_changed(channel_id); ListItem::new("channel-notes") - .height(px(24.)) .toggle_state(is_selected) .on_click(cx.listener(move |this, _, window, cx| { this.open_channel_notes(channel_id, window, cx); @@ -3210,12 +3207,9 @@ impl CollabPanel { (IconName::Star, Color::Default, "Add to Favorites") }; - let height = px(24.); - h_flex() .id(ix) .group("") - .h(height) .w_full() .overflow_hidden() .when(!channel.is_root_channel(), |el| { @@ -3245,7 +3239,6 @@ impl CollabPanel { ) .child( ListItem::new(ix) - .height(height) // Add one level of depth for the disclosure arrow. .indent_level(depth + 1) .indent_step_size(px(20.))