From f974d1173f875ba5c8df2fec46ce9dfcebe03392 Mon Sep 17 00:00:00 2001 From: Rita Lopes Date: Thu, 28 Mar 2024 16:16:42 +0000 Subject: [PATCH 1/5] Added code to replicate bug --- src/routes/+page.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index e69de29b..de98261c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -0,0 +1,2 @@ +
+
\ No newline at end of file From fc17ecdc7f3e147f671fee89ecc55c99396f5efa Mon Sep 17 00:00:00 2001 From: Rita Lopes Date: Thu, 28 Mar 2024 16:40:02 +0000 Subject: [PATCH 2/5] Added fixed to sidebar --- src/lib/layout/Sidebar.svelte | 2 +- src/routes/+page.svelte | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/layout/Sidebar.svelte b/src/lib/layout/Sidebar.svelte index 3d232a6a..c6f8af7d 100644 --- a/src/lib/layout/Sidebar.svelte +++ b/src/lib/layout/Sidebar.svelte @@ -23,7 +23,7 @@ {:else} -{:else} - -{/if} diff --git a/src/routes/(app)/_components/layout/sidebar.svelte b/src/routes/(app)/_components/layout/sidebar.svelte index 14b4c4ab..779d9c03 100644 --- a/src/routes/(app)/_components/layout/sidebar.svelte +++ b/src/routes/(app)/_components/layout/sidebar.svelte @@ -7,6 +7,11 @@ let selectedIndex: number | null = null; let sidebarClosed = true; + + function toggleSidebar() { + sidebarClosed = !sidebarClosed; + document.body.classList.toggle('no-scroll', !sidebarClosed); + } {#if sidebarClosed} @@ -15,7 +20,7 @@ > {/if} + + From 191ce7c8f0fe4c77b677478d3e86992e88190011 Mon Sep 17 00:00:00 2001 From: Rita Lopes Date: Fri, 26 Jul 2024 15:15:41 +0100 Subject: [PATCH 4/5] Removed testing page --- src/routes/(app)/(home)/+page.svelte | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/(app)/(home)/+page.svelte b/src/routes/(app)/(home)/+page.svelte index 8814ac29..e69de29b 100644 --- a/src/routes/(app)/(home)/+page.svelte +++ b/src/routes/(app)/(home)/+page.svelte @@ -1 +0,0 @@ -
From de2f9deeaff186ad3015b77ec39833df67cf1618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C2=AA=20Rita=20Lopes?= Date: Tue, 5 Nov 2024 13:14:37 +0000 Subject: [PATCH 5/5] Linter and removed test file --- src/routes/(app)/(home)/+page.svelte | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/(app)/(home)/+page.svelte b/src/routes/(app)/(home)/+page.svelte index 49459a41..e69de29b 100644 --- a/src/routes/(app)/(home)/+page.svelte +++ b/src/routes/(app)/(home)/+page.svelte @@ -1 +0,0 @@ -
\ No newline at end of file