From 343ffb48af32fda6c5f46287ebf2a622c754f8f1 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 10 May 2026 08:15:46 +0000 Subject: [PATCH] =?UTF-8?q?fix(web):=20AI=20Trading=20Copilot=20modal=20?= =?UTF-8?q?=E2=80=94=20quick=20action=20cards=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Quick Actions in the AI Trading Copilot floating modal were broken: - Always 2 columns regardless of viewport (cards overflowed at narrow widths). - Used + {action.label} + {action.prompt} + ))} diff --git a/web/src/layout-fixes.css b/web/src/layout-fixes.css index 99c5e4e..fe9ae1a 100644 --- a/web/src/layout-fixes.css +++ b/web/src/layout-fixes.css @@ -388,3 +388,108 @@ /* In the bottom-nav mobile state (≤560px), the sidebar becomes a horizontal * bar — the existing CSS hides the logo. Don't add anything that fights it. */ + +/* ============================================================================ + * 24. AI Trading Copilot modal — Quick Action cards layout + * + * The original quick actions used grid-cols-2 always, with two stacked + * children inside a flex Button — which caused + * title/description overlap and overflow at narrow widths. + * + * New structure: native