Skip to content

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.

Adjust max height of lesson panel

06FallingLight90a8509a44c8fe
diff --git a/understand-anything-plugin/packages/dashboard/src/components/CodeViewer.tsx b/understand-anything-plugin/packages/dashboard/src/components/CodeViewer.tsx
index aa19714e..2e02e4f0 100644
--- a/understand-anything-plugin/packages/dashboard/src/components/CodeViewer.tsx
+++ b/understand-anything-plugin/packages/dashboard/src/components/CodeViewer.tsx
@@ -494,7 +494,7 @@ export default function CodeViewer({
{lesson && (
<aside
- className={`${lessonPanelOpen ? "block" : "hidden"} xl:block w-full xl:w-80 shrink-0 border-t xl:border-t-0 xl:border-l border-border-subtle bg-surface overflow-y-auto max-h-[45vh] xl:max-h-none`}
+ className={`${lessonPanelOpen ? "block" : "hidden"} xl:block w-full xl:w-80 shrink-0 border-t xl:border-t-0 xl:border-l border-border-subtle bg-surface overflow-y-auto max-h-[45%] xl:max-h-none`}
>
<div className="sticky top-0 z-10 px-4 py-2.5 bg-surface border-b border-border-subtle">
<h3 className="text-[11px] font-semibold text-accent uppercase tracking-wider">