diff --git a/web/src/components/TradeProfileManager.tsx b/web/src/components/TradeProfileManager.tsx index 05dead2..5b63c41 100644 --- a/web/src/components/TradeProfileManager.tsx +++ b/web/src/components/TradeProfileManager.tsx @@ -28,6 +28,7 @@ import { Button } from './ui/button'; import { Card } from './ui/card'; import { Input } from './ui/input'; import { Select } from './ui/select'; +import { Textarea } from './ui/Primitives'; import { cn } from '../lib/utils'; // ChatControl is now rendered globally in App.tsx @@ -254,16 +255,19 @@ export const summarizePortfolioStats = ( // --- UI COMPONENTS --- const ToggleSwitch = ({ checked, onChange }: { checked: boolean, onChange: (v: boolean) => void }) => ( - + ); const Slider = ({ value, onChange, min, max, step, unit, label }: { value: number, onChange: (n: number) => void, min: number, max: number, step?: number, unit?: string, label: string }) => ( @@ -272,10 +276,11 @@ const Slider = ({ value, onChange, min, max, step, unit, label }: { value: numbe {label} {value}{unit} - onChange(Number(e.target.value))} - className="h-1 w-full accent-[var(--accent)]" + className="h-1 min-h-0 w-full px-0 py-0 accent-[var(--accent)]" />
{min}{unit} @@ -934,17 +939,20 @@ export const TradeProfileManager = ({ botState = DEFAULT_BOT_STATE }: TradeProfi { id: 'logic' as const, label: 'Rules', icon: Cpu }, { id: 'advanced' as const, label: 'Risk & Execution', icon: Shield }, ]).map(t => ( - + ))}
@@ -979,10 +987,10 @@ export const TradeProfileManager = ({ botState = DEFAULT_BOT_STATE }: TradeProfi {/* Trading Symbols */}
-