From a9c33b1c146dd0a2925240d933b30d4d0efe6ca6 Mon Sep 17 00:00:00 2001 From: Saravana Achu Mac Date: Mon, 4 May 2026 16:41:48 -0700 Subject: [PATCH] fix(D5): add responsive dashboard breakpoints Move fixed shell dimensions into responsive classes so sub-1024px layouts hide the right panel, turn the sidebar into a bottom nav, and keep dashboard content usable with adaptive grids and horizontal screener scrolling. Refs: docs/AUDIT_REDESIGN.md item D5. Co-Authored-By: GPT-5 Codex --- web/src/components/layout/AppShell.tsx | 30 +----- web/src/components/layout/RightPanel.tsx | 3 +- web/src/components/layout/Sidebar.tsx | 31 +----- web/src/index.css | 126 ++++++++++++++++++++++- web/src/views/HomeView.tsx | 4 +- web/src/views/ScreenerView.tsx | 2 +- 6 files changed, 138 insertions(+), 58 deletions(-) diff --git a/web/src/components/layout/AppShell.tsx b/web/src/components/layout/AppShell.tsx index b5450f0..b216f6d 100644 --- a/web/src/components/layout/AppShell.tsx +++ b/web/src/components/layout/AppShell.tsx @@ -13,41 +13,19 @@ import { SettingsView } from '../../views/SettingsView'; export function AppShell() { return ( -
+
{/* Fixed left sidebar */} {/* Main area (right of sidebar) */} -
+
{/* Sticky header */}
{/* Content row: main + right panel */} -
+
{/* Scrollable main content */} -
+
} /> } /> diff --git a/web/src/components/layout/RightPanel.tsx b/web/src/components/layout/RightPanel.tsx index bfbb187..cd55de5 100644 --- a/web/src/components/layout/RightPanel.tsx +++ b/web/src/components/layout/RightPanel.tsx @@ -227,8 +227,7 @@ function NewsFeed() { export function RightPanel() { return ( -