π OpenHands: AI-Driven Development
Fix: Add vertical scrolling to file content viewer (#5872)
mamoodicc928e6d3f5e
diff --git a/frontend/src/routes/_oh.app._index/route.tsx b/frontend/src/routes/_oh.app._index/route.tsxindex 39b52005bb..3f971213c8 100644--- a/frontend/src/routes/_oh.app._index/route.tsx+++ b/frontend/src/routes/_oh.app._index/route.tsx@@ -77,14 +77,14 @@ function FileViewer() {return (<div className="flex h-full bg-neutral-900 relative"><FileExplorer isOpen={fileExplorerIsOpen} onToggle={toggleFileExplorer} />- <div className="w-full">+ <div className="w-full h-full flex flex-col">{selectedPath && (<div className="flex w-full items-center justify-between self-end p-2"><span className="text-sm text-neutral-500">{selectedPath}</span></div>)}{selectedPath && files[selectedPath] && (- <div className="p-4">+ <div className="p-4 flex-1 overflow-auto"><SyntaxHighlighterlanguage={getLanguageFromPath(selectedPath)}style={vscDarkPlus}