web: size popped-out stream tiles to the window, Discord-style

In the separate window the grid now picks the column count that makes
the 16:9 tiles largest for the current window size and stream count, and
re-picks on resize. The pop-out/back button moved from a bar above the
grid into each tile header: in the corner the bar got pushed out of view
once the tiles overflowed, and "align-content: end" made that overflow
unreachable (now "safe end").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-11-30 21:47:06 +00:00
1 parent 8fbd591efa
commit 968a266684
2 files changed
+42 -24

No files matched your search

+1 -18
View File
@@ -1670,30 +1670,13 @@
z-index: 29;
display: grid;
grid-template-columns: repeat(var(--stream-cols, 1), minmax(0, 1fr));
align-content: end;
align-content: safe end;
gap: 0.5rem;
width: min(calc(var(--stream-cols, 1) * 480px), calc(100vw - 2rem));
max-height: calc(100vh - 2rem);
overflow-y: auto;
}
.ts-stream-toolbar {
grid-column: 1 / -1;
order: -2;
display: flex;
justify-content: flex-end;
}
.ts-stream-toolbar button {
padding: 0.15rem 0.5rem;
background: var(--bg-toolbar-1);
border: 1px solid var(--border);
border-radius: 4px;
color: inherit;
font-size: 0.85em;
cursor: pointer;
}
.ts-stream-panel-focused {
grid-column: 1 / -1;
}