Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant: Fix model selector check icon overflow (#16716)
moshyfawn2de420a67b1b
diff --git a/crates/assistant/src/model_selector.rs b/crates/assistant/src/model_selector.rsindex 9a53c07dba0..8a7946c028c 100644--- a/crates/assistant/src/model_selector.rs+++ b/crates/assistant/src/model_selector.rs@@ -190,15 +190,15 @@ impl PickerDelegate for ModelPickerDelegate {})}}),- )- .child(div().when(model_info.is_selected, |this| {- this.child(- Icon::new(IconName::Check)- .color(Color::Accent)- .size(IconSize::Small),- )- })),- ),+ ),+ )+ .end_slot(div().when(model_info.is_selected, |this| {+ this.child(+ Icon::new(IconName::Check)+ .color(Color::Accent)+ .size(IconSize::Small),+ )+ })),)}