assistant: Fix model selector check icon overflow (#16716)
Release Notes: - Fixed assistant model selector check icon overflow for long model names
This commit is contained in:
parent
f64f85eb1e
commit
2de420a67b
1 changed files with 9 additions and 9 deletions
|
@ -190,15 +190,15 @@ impl PickerDelegate for ModelPickerDelegate {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
)
|
),
|
||||||
.child(div().when(model_info.is_selected, |this| {
|
)
|
||||||
this.child(
|
.end_slot(div().when(model_info.is_selected, |this| {
|
||||||
Icon::new(IconName::Check)
|
this.child(
|
||||||
.color(Color::Accent)
|
Icon::new(IconName::Check)
|
||||||
.size(IconSize::Small),
|
.color(Color::Accent)
|
||||||
)
|
.size(IconSize::Small),
|
||||||
})),
|
)
|
||||||
),
|
})),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue