Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Improve collaboration panel empty styling (#65290)

arondubovszkyd058ddbbc1b7
diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs
index 655c35abb4f..91b57c75ea8 100644
--- a/crates/collab_ui/src/collab_panel.rs
+++ b/crates/collab_ui/src/collab_panel.rs
@@ -2732,14 +2732,15 @@ impl CollabPanel {
v_flex()
.p_4()
- .gap_4()
+ .gap_1()
.size_full()
.text_center()
.justify_center()
- .child(Label::new(collab_blurb))
+ .items_center()
+ .child(Label::new(collab_blurb).color(Color::Muted))
.child(
Button::new(button_id, button_label)
- .full_width()
+ .label_size(LabelSize::Small)
.start_icon(Icon::new(button_icon).color(Color::Muted))
.style(ButtonStyle::Outlined)
.disabled(is_busy)