From 9ebabaa303a40a9a32714dd5809544648220cae0 Mon Sep 17 00:00:00 2001 From: Michele Date: Tue, 7 Apr 2026 12:23:58 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20sidebar=20sticky=20on=20desktop=20?= =?UTF-8?q?=E2=80=94=20user=20card=20always=20visible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add position: sticky, top: 0, height: 100dvh to aside on desktop. Sidebar now stays fixed to viewport height, nav scrolls internally, user card is always visible at the bottom without scrolling. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/Layout.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Layout.jsx b/frontend/src/components/Layout.jsx index 1025586..f1c40b6 100644 --- a/frontend/src/components/Layout.jsx +++ b/frontend/src/components/Layout.jsx @@ -56,7 +56,9 @@ export default function Layout() { ...(isMobile ? { position: 'fixed', top: 0, left: sidebarOpen ? 0 : -220, height: '100dvh', zIndex: 300, transition: 'left 0.25s ease', - } : {}), + } : { + position: 'sticky', top: 0, height: '100dvh', overflowY: 'auto', + }), }}> {/* Logo */}