From 59bd1e45ee7a29e2553574d6682ec90f860d63ce Mon Sep 17 00:00:00 2001 From: Axxiar Date: Mon, 23 Dec 2024 17:39:13 +0100 Subject: [PATCH] feat: deactivate pointer events on sidebar when closed --- frontend/src/lib/components/SideBar/SideBar.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/SideBar/SideBar.svelte b/frontend/src/lib/components/SideBar/SideBar.svelte index 710e9550f..13529c9cd 100644 --- a/frontend/src/lib/components/SideBar/SideBar.svelte +++ b/frontend/src/lib/components/SideBar/SideBar.svelte @@ -6,7 +6,7 @@ export let open: boolean; - $: classesSidebarOpen = (open: boolean) => (open ? '' : '-ml-[14rem]'); + $: classesSidebarOpen = (open: boolean) => (open ? '' : '-ml-[14rem] pointer-events-none');