fix: calculate
This commit is contained in:
@@ -36,7 +36,7 @@ function CodeBlock({ code, filename }: { code: string; filename: string }) {
|
|||||||
return (
|
return (
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<div className="relative group rounded-xl overflow-hidden border border-white/5" style={{ background: '#06060e' }}>
|
<div className="relative group rounded-xl overflow-hidden border border-white/5" style={{ background: '#06060e' }}>
|
||||||
<pre className="p-4 overflow-x-auto font-mono text-[11px] text-white/55 leading-relaxed max-h-64">
|
<pre className="p-4 overflow-x-auto font-mono text-[11px] text-white/55 leading-relaxed max-h-64 scrollbar">
|
||||||
<code>{code}</code>
|
<code>{code}</code>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -107,11 +107,6 @@ export function GraphPanel() {
|
|||||||
<GraphCanvas functions={graphFunctions} variables={variables} />
|
<GraphCanvas functions={graphFunctions} variables={variables} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* ── Hint bar ─────────────────────────────────────────── */}
|
|
||||||
<p className="text-[10px] text-muted-foreground/35 text-center shrink-0 pb-1">
|
|
||||||
Drag to pan · Scroll to zoom · Hover for coordinates
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user