From 7c500d10472042ce6be99d0089d3a3550d682b8c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 13 Sep 2025 23:00:48 -0500 Subject: [PATCH] Scroll settings views independently from settings launchpad --- src/components/SettingsLayout.tsx | 75 ++++++++++++++++--------------- 1 file changed, 39 insertions(+), 36 deletions(-) diff --git a/src/components/SettingsLayout.tsx b/src/components/SettingsLayout.tsx index 8762ace4..fae67aac 100644 --- a/src/components/SettingsLayout.tsx +++ b/src/components/SettingsLayout.tsx @@ -1,6 +1,7 @@ import { useState, useEffect } from 'react'; import { useNavigate, useLocation, Outlet } from 'react-router-dom'; import { Button } from '@/components/ui/button'; +import { ScrollArea } from '@/components/ui/scroll-area'; import { Menu, Columns2, Bot, GitBranch, Database } from 'lucide-react'; import { ProjectSidebar } from '@/components/ProjectSidebar'; import { useProjectsManager } from '@/hooks/useProjectsManager'; @@ -136,22 +137,22 @@ export function SettingsLayout() { // Desktop 3-column layout return ( -
+
{/* Left Column - Projects Sidebar (optionally hidden) */} {isSidebarVisible && ( -
+
)} {/* Middle Column - Settings Navigation */} -
+
{/* Header with toggle button */} -
+
- {/* Settings Navigation */} -
-
- {settingsItems.map((item) => { - const Icon = item.icon; - const isActive = currentSettingsId === item.id; + {/* Settings Navigation - Scrollable */} + +
+
+ {settingsItems.map((item) => { + const Icon = item.icon; + const isActive = currentSettingsId === item.id; - return ( -
- - ); - })} + + ); + })} +
-
+
- {/* Right Column - Settings Content */} -
+ {/* Right Column - Settings Content - Scrollable */} +
-
+
); } \ No newline at end of file