improve search a bit
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Chris Cochrun 2025-09-10 09:48:40 -05:00
parent 8d5455eab7
commit 6cb06c4f0d
2 changed files with 24 additions and 22 deletions

View file

@ -480,9 +480,25 @@ impl cosmic::Application for App {
.map(|item| {
let title = text::title4(item.title.clone());
let subtitle = text::body(item.kind.to_string());
Element::from(column![title, subtitle].spacing(
cosmic::theme::active().cosmic().space_xxs(),
))
Element::from(Container::new(row![
column![title, subtitle].spacing(
cosmic::theme::active()
.cosmic()
.space_xxs(),
),
button::icon(
icon::from_name("add")
.scale(
cosmic::theme::active()
.cosmic()
.space_l()
)
.symbolic(true)
)
.on_press(
Message::AppendServiceItem(item.clone())
)
]))
})
.collect();
let modal = Container::new(