From 8ef6dca52bc0430a8f03e404399c95e4c51bb8a3 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 13 May 2024 02:53:34 +0200 Subject: [PATCH] fix(web): better spacing for search --- web/src/page.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/web/src/page.rs b/web/src/page.rs index 9379fdc1..31a101de 100644 --- a/web/src/page.rs +++ b/web/src/page.rs @@ -410,33 +410,33 @@ pub fn SearchPage() -> impl IntoView { view! { search -
+
users +
{move || match user.get() { - None => None, - Some(None) => None, - Some(Some(u)) => Some(view! { - - }), + None => view! {

searching...

}, + Some(None) => view! {

N/A

}, + Some(Some(u)) => view! {

}, }} +
-
+
objects +
{move || match object.get() { - None => None, - Some(None) => None, - Some(Some(o)) => Some(view! { - - }), + None => view! {

searching...

}, + Some(None) => view!{

N/A

}, + Some(Some(o)) => view! {

}, }} + }