Skip to content

Commit df5dfdb

Browse files
fix: hide progress banner in static mode, remove login avatar
- RunProgressBanner only renders in live mode (not static reports) - Removed non-functional login/avatar from header Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c2ab83c commit df5dfdb

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

packages/viewer/src/client/components/Layout.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,11 @@ export function Layout({ children }: { children: React.ReactNode }) {
101101
>
102102
{isDark ? <Sun className="w-4 h-4" /> : <Moon className="w-4 h-4" />}
103103
</Button>
104-
<div className="h-8 w-px bg-border mx-2" />
105-
<div className="flex items-center gap-3 pl-2">
106-
<div className="w-8 h-8 rounded-full bg-primary flex items-center justify-center text-primary-foreground font-bold text-xs">
107-
LD
108-
</div>
109-
<div className="hidden sm:block">
110-
<div className="text-xs font-bold leading-none">LiveDoc</div>
111-
<div className="text-[10px] text-muted-foreground mt-1">vNext Viewer</div>
112-
</div>
113-
</div>
114104
</div>
115105
</header>
116106

117107
{/* Run progress indicator */}
118-
<RunProgressBanner />
108+
{!staticMode && <RunProgressBanner />}
119109

120110
{/* Main Content Area */}
121111
<main className="flex-1 overflow-y-auto scroll-smooth">

0 commit comments

Comments
 (0)