Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Tweak styling for inline documentation labels
Marshall Bowers092eb37a71db
diff --git a/crates/editor2/src/editor.rs b/crates/editor2/src/editor.rsindex ffdfe3f975b..4e9a1dee90c 100644--- a/crates/editor2/src/editor.rs+++ b/crates/editor2/src/editor.rs@@ -1244,7 +1244,13 @@ impl CompletionsMenu {if text.trim().is_empty() {None} else {- Some(h_stack().ml_2().child(Label::new(text.clone())))+ Some(+ h_stack().ml_4().child(+ Label::new(text.clone())+ .size(LabelSize::Small)+ .color(Color::Muted),+ ),+ )}} else {None