From 28cafe2aa8d133dc9583dde6e31d249a73d64d3c Mon Sep 17 00:00:00 2001 From: Admin Date: Tue, 31 Mar 2026 16:33:17 +0500 Subject: [PATCH] fix(admin): make sidebar responsive on mobile with slide-out drawer Co-Authored-By: Claude Sonnet 4.6 --- ui/src/routes/admin/+layout.svelte | 41 ++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/ui/src/routes/admin/+layout.svelte b/ui/src/routes/admin/+layout.svelte index 2beadf8..33111f8 100644 --- a/ui/src/routes/admin/+layout.svelte +++ b/ui/src/routes/admin/+layout.svelte @@ -22,11 +22,47 @@ children?: import('svelte').Snippet; } let { children }: Props = $props(); + + let sidebarOpen = $state(false); + +{#if sidebarOpen} + +{/if} +
+ +
+ + Admin +
+ -