= ({ onClose, forceMobile
setMobileStage('page-sidebar');
}, []);
- const renderSettingsNav = (collapsed: boolean) => {
+ const renderSettingsNav = () => {
return (
{/* Scrollable nav items */}
@@ -556,7 +554,7 @@ export const SettingsView: React.FC = ({ onClose, forceMobile
if (!Icon) return null;
return (
-
+
- {collapsed && (
-
- {getPageTitle(page.slug)}
-
- )}
);
})}
- {/* Footer — hidden when collapsed via overflow on parent */}
-
+ {/* Footer */}
+
{!runtimeCtx.isVSCode && (
@@ -636,7 +619,7 @@ export const SettingsView: React.FC = ({ onClose, forceMobile
return (
- {renderSettingsNav(false)}
+ {renderSettingsNav()}
);
@@ -686,16 +669,20 @@ export const SettingsView: React.FC = ({ onClose, forceMobile
{renderPageSidebar(settingsSlug, {})}
-
-
{renderPageContent(settingsSlug)}
+
+
+ {renderPageContent(settingsSlug)}
+
);
}
return (
-
-
{renderPageContent(settingsSlug)}
+
+
+ {renderPageContent(settingsSlug)}
+
);
};
@@ -792,28 +779,26 @@ export const SettingsView: React.FC
= ({ onClose, forceMobile
: runtimeCtx.isVSCode
? 'bg-background'
: 'bg-sidebar',
- isResizing && !isNavCollapsed ? '' : 'transition-[width,min-width] duration-200 ease-[cubic-bezier(0.25,0.1,0.25,1)]'
+ isResizing ? '' : 'transition-[width,min-width] duration-200 ease-[cubic-bezier(0.25,0.1,0.25,1)]'
)}
style={{
- width: isNavCollapsed ? `${SETTINGS_NAV_RAIL_WIDTH}px` : `${navWidth}px`,
- minWidth: isNavCollapsed ? `${SETTINGS_NAV_RAIL_WIDTH}px` : `${navWidth}px`,
+ width: `${navWidth}px`,
+ minWidth: `${navWidth}px`,
borderColor: 'var(--interactive-border)',
}}
>
- {!isNavCollapsed && (
-
- )}
+
- {renderSettingsNav(isNavCollapsed)}
+ {renderSettingsNav()}
diff --git a/packages/ui/src/components/views/SettingsWindow.tsx b/packages/ui/src/components/views/SettingsWindow.tsx
index c4923797..00e961f2 100644
--- a/packages/ui/src/components/views/SettingsWindow.tsx
+++ b/packages/ui/src/components/views/SettingsWindow.tsx
@@ -41,7 +41,7 @@ export const SettingsWindow: React.FC = ({ open, onOpenChan
aria-describedby={descriptionId}
className={cn(
'fixed z-50 top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]',
- 'w-[90vw] max-w-[960px] h-[85vh] max-h-[900px]',
+ 'w-[90vw] max-w-[1200px] h-[85vh] max-h-[900px]',
'rounded-xl border shadow-none overflow-hidden',
'bg-background'
)}