From d76de186bb49340bd992bfd34ecf83e2d702084b Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Wed, 23 Sep 2026 15:56:38 +0200 Subject: [PATCH] fix: only an app page gets the flush panel; elsewhere the card still floats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Over an app the sidebar reads as the panel the header sits on — flush left and bottom, square, one border down its right side. On every other page it is what it was: a card inset from the window with rounded corners and a border all round. Co-Authored-By: Claude Opus 5 (1M context) --- .../src/routes/(root)/(logged)/+layout.svelte | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/frontend/src/routes/(root)/(logged)/+layout.svelte b/frontend/src/routes/(root)/(logged)/+layout.svelte index 51b61c51cc..a035a0e12f 100644 --- a/frontend/src/routes/(root)/(logged)/+layout.svelte +++ b/frontend/src/routes/(root)/(logged)/+layout.svelte @@ -1151,16 +1151,17 @@ {/if} - +
{ @@ -1182,8 +1183,16 @@ }} class={classNames( 'relative flex-1 flex flex-col max-w-min w-full bg-surface transition ease-in-out duration-300 transform', - detachedFloating ? 'border-r shadow-lg overflow-hidden' : '', - menuOpen ? 'translate-x-0' : '-translate-x-full' + detachedFloating + ? fullBleed + ? 'border-r shadow-lg overflow-hidden' + : 'rounded-lg border shadow-lg overflow-hidden' + : '', + menuOpen + ? 'translate-x-0' + : detachedFloating && !fullBleed + ? '-translate-x-[calc(100%+0.5rem)]' + : '-translate-x-full' )} >