From 31d8932067e1cab303c86334c1b939092adcfaf9 Mon Sep 17 00:00:00 2001 From: Saravana Achu Mac Date: Fri, 8 May 2026 21:25:54 -0700 Subject: [PATCH] fix(ui): stabilize responsive shell chrome --- web/src/App.tsx | 22 +- web/src/components/ChatControl.tsx | 12 +- web/src/components/layout/AppShell.tsx | 13 +- web/src/index.css | 308 +++++++++++++++++++++++-- 4 files changed, 314 insertions(+), 41 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 0050f60..1195518 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -191,18 +191,16 @@ function App() { showMarketplaceTab, handleSignOut, }}> - {/* Critical system alert banner */} - {hasCriticalEvents && ( -
- ⚠️ - - SYSTEM ALERT: {recentCriticalEvents.length} CRITICAL ISSUES DETECTED — GO TO SETTINGS › ADMIN PANEL - - ⚠️ -
- )} - -
+
+ {hasCriticalEvents && ( + + + + System alert: {recentCriticalEvents.length} critical issues detected — go to Settings › Admin Panel + + + + )}
diff --git a/web/src/components/ChatControl.tsx b/web/src/components/ChatControl.tsx index 34ea06d..6aa42e3 100644 --- a/web/src/components/ChatControl.tsx +++ b/web/src/components/ChatControl.tsx @@ -546,8 +546,8 @@ export const ChatControl = ({ profiles, botState, onApplyProfile }: ChatControlP variant="ghost" style={{ position: 'fixed', - bottom: '24px', - right: '24px', + bottom: 'var(--trading-assistant-bottom, 24px)', + right: 'var(--trading-assistant-right, 24px)', zIndex: 99999, cursor: 'pointer', background: 'none', @@ -628,13 +628,13 @@ export const ChatControl = ({ profiles, botState, onApplyProfile }: ChatControlP />
import('../../views/HomeView').then((mod) => ({ default: mod.HomeView }))); @@ -22,8 +22,15 @@ function RouteFallback() { aria-live="polite" className="route-fallback route-fallback-inline" > -