Skip to content

Commit 824ae88

Browse files
LucasMaupinclaude
andcommitted
feat(demo): move Active Resources into sidebar below Capture
- Relocate .resources-pane from .content into .aside sidebar - .resources-pane now uses flex: 1 to fill remaining sidebar height - Video area loses border-bottom and occupies the full content column - Tighten empty-state padding and icon size to suit the narrower panel Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ea6bd28 commit 824ae88

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

packages/demo/src/index.html

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@
331331
background: #000;
332332
flex: 1;
333333
min-height: 0;
334-
border-bottom: 1px solid var(--border);
335334
overflow: hidden;
336335
}
337336

@@ -368,10 +367,10 @@
368367
/* ── Resources pane ──────────────────────────────── */
369368

370369
.resources-pane {
371-
flex-shrink: 0;
372-
height: 160px;
370+
flex: 1;
373371
overflow-y: auto;
374-
padding: 10px 16px;
372+
min-height: 0;
373+
padding: 4px 0;
375374
}
376375

377376
.section-header {
@@ -405,7 +404,7 @@
405404
flex-direction: column;
406405
align-items: center;
407406
gap: 8px;
408-
padding: 40px 20px;
407+
padding: 20px 10px;
409408
color: var(--muted);
410409
}
411410

@@ -631,28 +630,13 @@
631630
<textarea id="param-b64json"></textarea>
632631
</div>
633632

634-
</aside>
635-
636-
<div class="content">
637-
638-
<div class="video-area">
639-
<video id="ingest" autoplay playsinline muted controls></video>
640-
<div id="video-placeholder" class="video-placeholder">
641-
<svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round">
642-
<path d="M23 7l-7 5 7 5V7z"/>
643-
<rect x="1" y="5" width="15" height="14" rx="2" ry="2"/>
644-
</svg>
645-
<p>No stream — click Camera or Screen to begin</p>
646-
</div>
647-
</div>
648-
649633
<div class="resources-pane">
650634
<div class="section-header">
651635
<span class="section-title">Active Resources</span>
652636
<span id="resource-count" class="count-badge">0</span>
653637
</div>
654638
<div id="empty-state" class="empty-state">
655-
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round">
639+
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round">
656640
<circle cx="12" cy="12" r="10"/>
657641
<line x1="12" y1="8" x2="12" y2="12"/>
658642
<line x1="12" y1="16" x2="12.01" y2="16"/>
@@ -662,6 +646,21 @@
662646
<div id="resource-list" class="resource-list"></div>
663647
</div>
664648

649+
</aside>
650+
651+
<div class="content">
652+
653+
<div class="video-area">
654+
<video id="ingest" autoplay playsinline muted controls></video>
655+
<div id="video-placeholder" class="video-placeholder">
656+
<svg width="52" height="52" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round">
657+
<path d="M23 7l-7 5 7 5V7z"/>
658+
<rect x="1" y="5" width="15" height="14" rx="2" ry="2"/>
659+
</svg>
660+
<p>No stream — click Camera or Screen to begin</p>
661+
</div>
662+
</div>
663+
665664
</div>
666665
</div>
667666

0 commit comments

Comments
 (0)