fix(dashboard): reduce code viewer overlay height to avoid blocking nodes

Reduced from 40vh to 25vh so the overlay sits closer to the bottom
and leaves more room for graph nodes above.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lum1104
2026-03-28 23:27:33 +08:00
Unverified
parent 4d2cb32232
commit 40a460df48
@@ -337,7 +337,7 @@ function Dashboard({ accessToken }: { accessToken: string }) {
{/* Code viewer overlay */}
{codeViewerOpen && (
<div className="absolute bottom-0 left-0 right-0 h-[40vh] bg-surface border-t border-border-subtle animate-slide-up z-20">
<div className="absolute bottom-0 left-0 right-0 h-[25vh] bg-surface border-t border-border-subtle animate-slide-up z-20">
<div className="h-full flex flex-col">
<div className="flex items-center justify-end px-3 py-1 shrink-0">
<button