From 06d191eb82b11600158bbb8acd8a3ad70cbef681 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Wed, 23 Sep 2026 15:53:35 +0200 Subject: [PATCH] feat: the revealed sidebar is a panel under the header, not a card over the page No rounded corners, no inset from the window: it starts at the header's bottom edge and runs to the left and bottom edges, with one border down its right side and a shadow to lift it off the page. A card floating in from nowhere read as a separate thing; this reads as the sidebar the header sits on top of. Co-Authored-By: Claude Opus 5 (1M context) --- .../src/routes/(root)/(logged)/+layout.svelte | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/frontend/src/routes/(root)/(logged)/+layout.svelte b/frontend/src/routes/(root)/(logged)/+layout.svelte index 6e68733fb9..51b61c51cc 100644 --- a/frontend/src/routes/(root)/(logged)/+layout.svelte +++ b/frontend/src/routes/(root)/(logged)/+layout.svelte @@ -1151,15 +1151,16 @@ {/if} - +
{ @@ -1181,12 +1182,8 @@ }} class={classNames( 'relative flex-1 flex flex-col max-w-min w-full bg-surface transition ease-in-out duration-300 transform', - detachedFloating ? 'rounded-lg border shadow-lg overflow-hidden' : '', - menuOpen - ? 'translate-x-0' - : detachedFloating - ? '-translate-x-[calc(100%+0.5rem)]' - : '-translate-x-full' + detachedFloating ? 'border-r shadow-lg overflow-hidden' : '', + menuOpen ? 'translate-x-0' : '-translate-x-full' )} >