From f9a23236dfeb1b3032514fa4c2293ac486182359 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 6 Nov 2024 12:51:36 +0100 Subject: [PATCH] Some design improvements --- assets/ibis.css | 9 --------- src/frontend/app.rs | 2 +- src/frontend/components/nav.rs | 22 ++++++++++++---------- 3 files changed, 13 insertions(+), 20 deletions(-) diff --git a/assets/ibis.css b/assets/ibis.css index bb43997..f3247c1 100644 --- a/assets/ibis.css +++ b/assets/ibis.css @@ -6,12 +6,3 @@ .anchor svg { display: inline; } - -@media only screen and (max-width: 720px) { - nav { - width: 100% !important; - } - nav #navbar-start { - display: flex; - } -} diff --git a/src/frontend/app.rs b/src/frontend/app.rs index 0701f46..603f653 100644 --- a/src/frontend/app.rs +++ b/src/frontend/app.rs @@ -92,7 +92,7 @@ pub fn App() -> impl IntoView { view! { - + <> diff --git a/src/frontend/components/nav.rs b/src/frontend/components/nav.rs index 1ebd0d9..389b791 100644 --- a/src/frontend/components/nav.rs +++ b/src/frontend/components/nav.rs @@ -22,10 +22,10 @@ pub fn Nav() -> impl IntoView { let (search_query, set_search_query) = create_signal(String::new()); view! { -