Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/app/tv-guide.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* TV workspace: shared charcoal surfaces, independent selected/focused states. */
.app-shell:has(.player-overlay:not(.player-docked)) > :is(.sidebar, .mobile-header, .mobile-bottom-nav) { visibility: hidden; pointer-events: none; }
.player-overlay.player-docked { z-index: 40; border-radius: 4px; overflow: hidden; background: #080808; }
.player-overlay.player-docked > .player-top, .player-overlay.player-docked > .player-controls,
.player-overlay.player-docked > .player-panel { display: none; }
Expand Down
4 changes: 2 additions & 2 deletions web/components/shell/AppShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ACCENTS: Record<string, string> = {
};

export function AppShell() {
const { view, section, settings, selected, activeStream } = useApp();
const { view, section, settings, selected, activeStream, activeChannel } = useApp();
const [mounted, setMounted] = useState(false);

useEffect(() => {
Expand Down Expand Up @@ -88,7 +88,7 @@ export function AppShell() {
className={`app-shell ${settings.oledBlack ? "oled" : ""} ${settings.spoilerBlur ? "spoiler-blur" : ""}`}
style={{ ["--accent" as string]: accent }}
>
{!activeStream && <TopNav />}
{(!activeStream || (section === "tv" && activeChannel)) && <TopNav />}

<section className="content">
{selected ? (
Expand Down
Loading