From 1e3d7ba58edee07b339efd939e0ec4822ecba2e1 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 12 Dec 2024 09:46:54 +0100 Subject: [PATCH] Fixes for mobile navbar --- Cargo.toml | 6 +++++- src/frontend/components/nav.rs | 9 ++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 475a5be..412658c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,11 @@ axum = "0.7.7" axum-macros = "0.4.2" axum-extra = { version = "0.9.4", features = ["cookie"] } tokio = { version = "1.41.1", features = ["full"] } -tower-http = { version = "0.6.1", features = ["cors", "fs", "compression-full"] } +tower-http = { version = "0.6.1", features = [ + "cors", + "fs", + "compression-full", +] } activitypub_federation = { version = "0.6.0", features = [ "axum", "diesel", diff --git a/src/frontend/components/nav.rs b/src/frontend/components/nav.rs index 910e6dc..4033e5b 100644 --- a/src/frontend/components/nav.rs +++ b/src/frontend/components/nav.rs @@ -20,14 +20,12 @@ pub fn Nav() -> impl IntoView { let (search_query, set_search_query) = signal(String::new()); let mut dark_mode = expect_context::(); view! { -