diff --git a/frontend/src/App.css b/frontend/src/App.css
index b0e8286..ff8bcd6 100644
--- a/frontend/src/App.css
+++ b/frontend/src/App.css
@@ -409,6 +409,41 @@
max-height: none;
overflow: visible;
}
+
+ .insight-panel {
+ overflow: visible !important;
+ }
+
+ .ai-analyst-content {
+ overflow: visible !important;
+ }
+
+ .insight-cta {
+ overflow: visible !important;
+ }
+
+ .ai-param-selectors {
+ overflow: visible !important;
+ position: relative;
+ z-index: 20;
+ }
+
+ .glass-dropdown-menu {
+ top: auto !important;
+ bottom: calc(100% + 8px) !important;
+ left: 0 !important;
+ z-index: 1000 !important;
+ animation: none !important;
+ }
+
+ .insight-panel .glass-dropdown-menu {
+ top: auto !important;
+ bottom: calc(100% + 8px) !important;
+ left: 0 !important;
+ transform: none !important;
+ z-index: 9999 !important;
+ animation: none !important;
+ }
}
@media (max-width: 768px) {
diff --git a/frontend/src/components/AIAnalyst.tsx b/frontend/src/components/AIAnalyst.tsx
index 8839c5c..fef1184 100644
--- a/frontend/src/components/AIAnalyst.tsx
+++ b/frontend/src/components/AIAnalyst.tsx
@@ -1,5 +1,5 @@
-import { useState, useEffect } from 'react';
-import Logo from './Logo';
+import { useState, useEffect } from "react";
+import Logo from "./Logo";
interface AIInsight {
ticker: string;
@@ -42,19 +42,23 @@ export default function AIAnalyst({
strategyLocked = false,
onLockInStrategy,
}: AIAnalystProps) {
- const [targetPriceInput, setTargetPriceInput] = useState
{parseInline(trimmed, `p-${i}`)}
-
+
,
);
bulletBuffer = [];
};
@@ -129,40 +160,69 @@ export default function AIAnalyst({
}
// ### Heading 3
- if (trimmed.startsWith('### ')) {
+ if (trimmed.startsWith("### ")) {
flushBullets(`${i}`);
elements.push(
-
{bulletBuffer.map((item, bi) => (
-
+
+
,
);
return;
}
// ## Heading 2
- if (trimmed.startsWith('## ')) {
+ if (trimmed.startsWith("## ")) {
flushBullets(`${i}`);
elements.push(
-
{trimmed.slice(4)}
-
+
+
,
);
return;
}
// # Heading 1
- if (trimmed.startsWith('# ')) {
+ if (trimmed.startsWith("# ")) {
flushBullets(`${i}`);
elements.push(
-
{parseInline(trimmed.slice(3), `h2-${i}`)}
-
+
+
,
);
return;
}
// * bullet or - bullet
- if (trimmed.startsWith('* ') || trimmed.startsWith('- ')) {
+ if (trimmed.startsWith("* ") || trimmed.startsWith("- ")) {
bulletBuffer.push(trimmed.slice(2));
return;
}
@@ -172,11 +232,11 @@ export default function AIAnalyst({
elements.push(
{parseInline(trimmed.slice(2), `h1-${i}`)}
-
+