Tweak styling for inline documentation labels
Co-Authored-By: Julia <julia@zed.dev>
This commit is contained in:
@@ -1244,7 +1244,13 @@ impl CompletionsMenu {
|
|||||||
if text.trim().is_empty() {
|
if text.trim().is_empty() {
|
||||||
None
|
None
|
||||||
} else {
|
} 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 {
|
} else {
|
||||||
None
|
None
|
||||||
|
|||||||
Reference in New Issue
Block a user