From 01a9794d0f5ce32fdbc8a7edbb90d8a80aeba867 Mon Sep 17 00:00:00 2001 From: AAA <35992542+TNTcraftHIM@users.noreply.github.com> Date: Sat, 31 Oct 2026 08:18:17 -0400 Subject: [PATCH] fix(channel): place shared remote panels below the picture --- src/client/channel/components/channel-media.css | 4 ++++ src/client/channel/components/channel-stage.css | 1 + 2 files changed, 5 insertions(+) diff --git a/src/client/channel/components/channel-media.css b/src/client/channel/components/channel-media.css index 052b1ca33..ff34bc644 100644 --- a/src/client/channel/components/channel-media.css +++ b/src/client/channel/components/channel-media.css @@ -45,6 +45,10 @@ } .c3-mini-player > .lr-playback-reveal { right: 50%; bottom: 0; translate: 50% 0; border-radius: 10px 10px 0 0; border-bottom: 0; } .c3-mini-player[data-controls-hidden="true"]:has(> .lr-remote-input-surface) > .lr-playback-reveal { display: grid; place-items: center; } +/* Shared remote panels occupy the drawer row, below the picture and its tools. */ +.c3-video.c3-mini-player:has(.lr-remote-keyboard, .lr-remote-password) { display: grid; grid-template: minmax(120px, 1fr) auto auto / minmax(0, 1fr); flex: 1 0 auto; } +.c3-mini-player:has(.lr-remote-keyboard, .lr-remote-password) > :is(video, .lr-remote-input-surface, .c3-mini-message, .lr-playback-reveal) { grid-area: 1 / 1 / 3 / 2; } +.c3-mini-player:has(.lr-remote-keyboard, .lr-remote-password) > .c3-mini-controls { position: relative; inset: auto; grid-area: 2 / 1; justify-self: center; margin-block-end: 10px; } .c3-mini-message { z-index: 1; position: absolute; diff --git a/src/client/channel/components/channel-stage.css b/src/client/channel/components/channel-stage.css index 809f4c65c..7d5f681eb 100644 --- a/src/client/channel/components/channel-stage.css +++ b/src/client/channel/components/channel-stage.css @@ -15,6 +15,7 @@ .c3-monitor-focus-name { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 400; overflow-wrap: anywhere; } .c3-monitor-grid { display: grid; flex: 1; min-height: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); grid-auto-rows: minmax(160px, 1fr); gap: 14px; } .c3-monitor-grid.is-focused { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); } +.c3-monitor-grid:has(.lr-remote-keyboard, .lr-remote-password) { grid-auto-rows: minmax(min-content, 1fr); } .c3-monitor-tile { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--wall); border: 1px solid var(--line); border-radius: 16px; } .c3-monitor-tile > :is(.c3-video, .c3-monitor-wait) { flex: 1; min-height: 100px; aspect-ratio: auto; } .c3-monitor-tile.is-focused { grid-column: 1 / -1; order: -1; border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }