From 716d7aca947e02b8eb3831bea0fd5798550aeea8 Mon Sep 17 00:00:00 2001 From: RockChinQ Date: Tue, 16 Jun 2026 05:22:42 -0400 Subject: [PATCH] fix(web): fixed-height settings dialog, narrower sidebar Pin the dialog to a fixed 80vh (cap 800px) so switching sections no longer resizes it; panels scroll their own content internally. Override the SidebarProvider wrapper's default h-svh with h-full so both columns fill the dialog height. Narrow the inner settings sidebar to w-44. --- .../components/settings-dialog/SettingsDialog.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/web/src/app/home/components/settings-dialog/SettingsDialog.tsx b/web/src/app/home/components/settings-dialog/SettingsDialog.tsx index 9b24b9e2..52b799c3 100644 --- a/web/src/app/home/components/settings-dialog/SettingsDialog.tsx +++ b/web/src/app/home/components/settings-dialog/SettingsDialog.tsx @@ -116,19 +116,21 @@ export default function SettingsDialog({ }} > {t('settingsDialog.title')} {activeLabel} - + {/* Override the SidebarProvider wrapper's default h-svh so the two + columns fill the dialog's fixed height instead of the viewport. */} + @@ -154,7 +156,7 @@ export default function SettingsDialog({ -
+
{/* Mobile section switcher (sidebar is hidden on small screens) */}
{navItems.map((item) => (