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 (