diff --git a/assets/style.css b/assets/style.css index 705b57a..5fee32f 100644 --- a/assets/style.css +++ b/assets/style.css @@ -131,4 +131,21 @@ th { .editable-cell-suggestions li:hover { background-color: #f5f5f5; /* Light gray background on hover */ +} + +.search-icon { + margin-left: 10px; + padding: 5px; + border: none; + background-color: transparent; + cursor: pointer; +} + +.search-icon i { + font-size: 18px; + color: #333; +} + +.search-icon i.fas.fa-search { + margin-left: 5px; } \ No newline at end of file diff --git a/src/app.rs b/src/app.rs index e9a0812..972acba 100644 --- a/src/app.rs +++ b/src/app.rs @@ -29,6 +29,7 @@ pub fn App() -> impl IntoView { view! { +

{ "CompareWare" }

diff --git a/src/components/items_list.rs b/src/components/items_list.rs index 140535e..af6e3e2 100644 --- a/src/components/items_list.rs +++ b/src/components/items_list.rs @@ -192,6 +192,12 @@ pub fn ItemsList( }); })) /> + {move || { if show_suggestions.get() { log!("Rendering suggestions list");