Tweak styling for inline documentation labels

Co-Authored-By: Julia <julia@zed.dev>
This commit is contained in:
Marshall Bowers 2024-01-03 11:44:17 -05:00
parent 231fd1c5c0
commit 092eb37a71

View File

@ -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