From 9fcc564333a66e5f3adb325cc260824f22fad308 Mon Sep 17 00:00:00 2001 From: Michael Chihlas Date: Sun, 22 Mar 2026 01:11:16 -0400 Subject: [PATCH] fix: flyout positioning, sidebar full height, pin icon padding - Flyout uses absolute positioning relative to parent item (not fixed) - Both rail and pinned sidebar stretch to full viewport height - Pin icon has proper bottom padding to avoid cutoff Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/layout/Sidebar.tsx | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 6ee950d8..0f3f57ae 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -250,19 +250,8 @@ export function Sidebar() { {/* Flyout panel (icon rail only) */} {hasChildren && !sidebarPinned && flyoutIndex === key && (
{ - const itemEl = sidebarRef.current.querySelector(`[data-flyout-key="${key}"]`) - if (itemEl) { - const rect = itemEl.getBoundingClientRect() - return `${rect.top}px` - } - return '0px' - })() - : '0px', maxHeight: '70vh', overflowY: 'auto', }} @@ -391,8 +380,8 @@ export function Sidebar() { return (