Tweak styling for inline documentation labels
Co-Authored-By: Julia <julia@zed.dev>
This commit is contained in:
parent
231fd1c5c0
commit
092eb37a71
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue