From fd3e3010fcf53b4579c4d5bb8699a90d50043812 Mon Sep 17 00:00:00 2001 From: Massedil Date: Wed, 3 Sep 2025 21:04:29 +0200 Subject: [PATCH] Improve the navbar menu - The center `mobile-menu-2` can now contain an unlimited number of elements - Components remain fixed at the top of the screen on small displays when the menu is expanded - Menu items are always directly to the right of the logo (even when logged out) Solves #1604 --- src/components/NavBar.vue | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 9da618c51..3e360ce2d 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -3,7 +3,9 @@ class="bg-white border-gray-200 px-2 sm:px-4 py-2.5 dark:bg-zinc-900" id="navbar" > -
+
    -
  • +
  • -
  • +
  • -
  • +
  • {{ t("My events") }}
  • -
  • +
  • {{ t("My groups") }}
  • -
  • +
  • {{ t("Login") }}
  • -
  • +
  • {{ t("Register") }}
  • -
  • +
-
+
+