Skip to content

Commit 25a41cf

Browse files
committed
fix(tarko-agent-ui): restore container and navbar in replay mode
Replay mode was missing the outer container with proper height control and background styling, and the Navbar component. This caused layout issues where the UI didn't fill the screen properly in replay mode. Fixes the height control issue introduced in PR #1553.
1 parent cf4d88b commit 25a41cf

File tree

1 file changed

+9
-1
lines changed
  • multimodal/tarko/agent-ui/src/standalone/app

1 file changed

+9
-1
lines changed

multimodal/tarko/agent-ui/src/standalone/app/App.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,15 @@ export const App: React.FC = () => {
4242

4343
if (isReplayMode) {
4444
console.log('[ReplayMode] Rendering replay layout directly');
45-
return <Layout isReplayMode={true} />;
45+
return (
46+
<div className="flex h-screen bg-[#F2F3F5] dark:bg-gray-900 text-gray-900 dark:text-gray-100 overflow-hidden">
47+
<Sidebar />
48+
<div className="flex-1 flex flex-col overflow-hidden">
49+
<Navbar />
50+
<Layout isReplayMode={true} />
51+
</div>
52+
</div>
53+
);
4654
}
4755

4856
return (

0 commit comments

Comments
 (0)