assistant: Use a labeled button for the slash command menu (#19703)
This should help a bit more the discoverability of the slash commands. Release Notes: - N/A
This commit is contained in:
parent
6cd5c9e32f
commit
42a7402cc5
2 changed files with 7 additions and 7 deletions
|
@ -178,7 +178,7 @@ impl PickerDelegate for SlashCommandDelegate {
|
|||
SlashCommandEntry::Info(info) => Some(
|
||||
ListItem::new(ix)
|
||||
.inset(true)
|
||||
.spacing(ListItemSpacing::Sparse)
|
||||
.spacing(ListItemSpacing::Dense)
|
||||
.selected(selected)
|
||||
.child(
|
||||
h_flex()
|
||||
|
@ -224,7 +224,7 @@ impl PickerDelegate for SlashCommandDelegate {
|
|||
SlashCommandEntry::Advert { renderer, .. } => Some(
|
||||
ListItem::new(ix)
|
||||
.inset(true)
|
||||
.spacing(ListItemSpacing::Sparse)
|
||||
.spacing(ListItemSpacing::Dense)
|
||||
.selected(selected)
|
||||
.child(renderer(cx)),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue