assistant2: Adjust spacing and icons on the context picker (#23607)

Just fine-tuning spacing, icon size and color, and ensure they're are
consistent throughout.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-01-24 12:34:11 -03:00 committed by GitHub
parent 8efed4c449
commit fc3a871264
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 45 additions and 22 deletions

View file

@ -540,7 +540,7 @@ impl Render for ContextMenu {
};
let label_element = if let Some(icon_name) = icon {
h_flex()
.gap_2()
.gap_1p5()
.when(*icon_position == IconPosition::Start, |flex| {
flex.child(
Icon::new(*icon_name)