From 13cf17cb7d8d21c6896fd1cf88752be6fe9df654 Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Sun, 28 May 2023 13:39:45 +0530 Subject: [PATCH] sidebar href="#" bug fix --- src/html/components/dashboard/_sidenav.astro | 63 +++++++++++++------ .../docs/components/main-sidebar.mdx | 4 +- src/ts/treeview.ts | 19 +++--- 3 files changed, 57 insertions(+), 29 deletions(-) diff --git a/src/html/components/dashboard/_sidenav.astro b/src/html/components/dashboard/_sidenav.astro index 69dee016d..721aead66 100644 --- a/src/html/components/dashboard/_sidenav.astro +++ b/src/html/components/dashboard/_sidenav.astro @@ -36,7 +36,7 @@ const htmlPath = convertPathToHtml(path); >
  • @@ -77,7 +77,7 @@ const htmlPath = convertPathToHtml(path);
  • @@ -118,7 +118,7 @@ const htmlPath = convertPathToHtml(path);
  • @@ -197,7 +197,7 @@ const htmlPath = convertPathToHtml(path); class:list={["nav-item", mainPage === "ui-elements" && "menu-open"]} > @@ -220,7 +220,7 @@ const htmlPath = convertPathToHtml(path);
  • @@ -243,7 +243,7 @@ const htmlPath = convertPathToHtml(path);
  • @@ -267,7 +267,7 @@ const htmlPath = convertPathToHtml(path);
  • @@ -350,6 +350,29 @@ const htmlPath = convertPathToHtml(path);
  • +
  • + + +

    + Javascript + +

    +
    + +