From d5bc3a86a9548a193572e862b1984aa9b38e4e49 Mon Sep 17 00:00:00 2001
From: AAA <35992542+TNTcraftHIM@users.noreply.github.com>
Date: Thu, 26 Nov 2026 14:04:55 -0500
Subject: [PATCH] refactor(ui): compose the More menu as one column in named
groups
The owner found the menu empty and oddly broken into lines. It had three left edges: the playback device sat inside a padded card, the rows that are buttons began at their own padding, and the help heading had a margin of its own. Its gaps were uneven and the two forms of the room were a select.
- One edge. The device group loses its padding here, and a row that is a button reaches past the edge so that its icon stands on it.
- Groups parted by a rule: appearance (language, theme, the room's form), sound (playback device, feedback sounds), forwarding, then the build and its help.
- The room's form is the shared sliding selection, as the handbook gives a short fixed mode, on one line with its name like the language and theme above it.
- On a phone the header's own buttons give up their words, and what opens from the header keeps them.
---
.../components/ChannelInterfaceControl.tsx | 15 +++++++++------
.../components/channel-feedback-sounds.css | 2 +-
.../components/channel-interface-control.css | 8 +++++---
src/client/pages/channel-living.css | 3 ++-
src/client/styles.css | 14 ++++++++++++--
5 files changed, 29 insertions(+), 13 deletions(-)
diff --git a/src/client/channel/components/ChannelInterfaceControl.tsx b/src/client/channel/components/ChannelInterfaceControl.tsx
index 07a86206a..08beb8832 100644
--- a/src/client/channel/components/ChannelInterfaceControl.tsx
+++ b/src/client/channel/components/ChannelInterfaceControl.tsx
@@ -16,12 +16,15 @@ export function ChannelInterfaceControl({ value, onChange }: {
value: RoomLayout; onChange(value: RoomLayout): void;
}) {
const { t } = useCopy();
- return ;
+ const labelId = useId();
+ return
+ {t("channel.interfaceControl.interface")}
+
+ {interfaceOptions(t).map(option => )}
+
+
;
}
/** An optional first-use choice; creation and personal preference stay with the page. */
diff --git a/src/client/channel/components/channel-feedback-sounds.css b/src/client/channel/components/channel-feedback-sounds.css
index 4a024a62e..f99117a22 100644
--- a/src/client/channel/components/channel-feedback-sounds.css
+++ b/src/client/channel/components/channel-feedback-sounds.css
@@ -1,4 +1,4 @@
-.c3-feedback-sounds { display: grid; gap: 8px; min-width: 220px; padding-top: 14px; border-top: 1px solid var(--control-edge); }
+.c3-feedback-sounds { display: grid; gap: 8px; min-width: 220px; }
.c3-feedback-sounds p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.c3-feedback-sounds > label { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.c3-feedback-sounds output { color: var(--muted); font-variant-numeric: tabular-nums; }
diff --git a/src/client/channel/components/channel-interface-control.css b/src/client/channel/components/channel-interface-control.css
index ad3dc8f57..0d016d3ee 100644
--- a/src/client/channel/components/channel-interface-control.css
+++ b/src/client/channel/components/channel-interface-control.css
@@ -1,4 +1,7 @@
-.c3-interface-choice { display: grid; gap: 6px; min-width: 0; font-size: 12px; }
+/* A name and its choice on one line, as the language and the theme stand above it. */
+.c3-interface-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; font-size: 14px; font-weight: 600; }
+/* The track is as tall as the language track above it. */
+.c3-interface-choice > .lr-toggle { flex: none; --selection-item-size: 36px; }
.c3-interface-suggestion { display: grid; gap: 12px; width: 100%; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.c3-interface-suggestion h3 { margin: 0; font-size: 14px; line-height: 1.5; }
.c3-interface-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; }
@@ -9,6 +12,5 @@
.c3-interface-options .is-selected .c3-interface-option-description { color: inherit; }
.c3-interface-suggestion footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.c3-interface-suggestion footer > span { flex: 1 1 160px; color: var(--muted); font-size: 11px; line-height: 1.6; }
-.c3-forwarding-settings { padding: 8px 0; }
-.c3-forwarding-settings summary { cursor: pointer; padding-block: 6px; font-size: 13px; font-weight: 600; }
+.c3-forwarding-settings summary { cursor: pointer; padding-block: 6px; font-size: 14px; font-weight: 600; }
.c3-forwarding-settings > p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 4px 0; }
diff --git a/src/client/pages/channel-living.css b/src/client/pages/channel-living.css
index 722f73312..613f11b0e 100644
--- a/src/client/pages/channel-living.css
+++ b/src/client/pages/channel-living.css
@@ -211,7 +211,8 @@
[data-layout="living"][data-sidebars="phone"][data-room-list-open] .c3-room-toolbar { display: none; }
[data-layout="living"][data-sidebars="phone"][data-room-list-open] .c3-room-heading { flex: none; }
[data-layout="living"][data-sidebars="phone"] .c3-global-tools { align-self: center; padding-inline-end: 4px; }
-[data-layout="living"][data-sidebars="phone"] .c3-global-tools .lr-btn .lr-cap { display: none; }
+/* The row's own buttons give up their words on a phone. What opens from the row is not the row. */
+[data-layout="living"][data-sidebars="phone"] .c3-global-tools .lr-btn:not([popover] .lr-btn, .lr-floating-panel .lr-btn) .lr-cap { display: none; }
[data-layout="living"][data-sidebars="phone"] > :is(.c3-chat-panel, .c3-people-panel) { border-inline-start: 0; }
[data-layout="living"][data-sidebars="phone"] > .c3-people-panel { grid-area: 2 / 1 / -2 / -1; }
[data-layout="living"][data-sidebars="phone"] > .c3-chat-panel { border-block-start: 1px solid var(--line); }
diff --git a/src/client/styles.css b/src/client/styles.css
index 2b8b60a47..ef18974d2 100644
--- a/src/client/styles.css
+++ b/src/client/styles.css
@@ -133,9 +133,19 @@ ul { margin: 0; padding: 0; list-style: none; }
.lr-header-controls .lr-btn.is-compact:not([popover] .lr-btn, .lr-app-connect) { width: var(--control-compact-size); padding: 0; }
.lr-header-controls .lr-cap:not([popover] .lr-cap, .lr-app-connect > .lr-cap) { display: none; }
.lr-header-more { display: inline-flex; }
-.lr-header-options:is(:popover-open, .\:popover-open) { display: grid; gap: 16px; }
+/* The menu is one column on one edge. Its groups are parted by a rule, their rows by an even step, and a row
+ that is a button reaches past the edge so that its icon stands on it. */
+.lr-header-options:is(:popover-open, .\:popover-open) { display: grid; gap: 12px; }
.lr-header-settings { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
-.lr-header-options .lr-help-content { padding-top: 14px; border-top: 1px solid var(--control-edge); }
+.lr-header-options .lr-capture-device { padding: 12px 0 0; border-top: 1px solid var(--control-edge); }
+.lr-header-options .lr-capture-device label { font-size: 14px; font-weight: 600; color: inherit; }
+.lr-header-options .lr-capture-device-controls > select { flex: 1; min-width: 0; }
+.lr-header-options .c3-forwarding-settings { padding-top: 6px; border-top: 1px solid var(--control-edge); }
+.lr-header-options .lr-help-content { padding-top: 12px; border-top: 1px solid var(--control-edge); }
+.lr-header-options .lr-help-content header { margin: 0 0 8px; }
+.lr-header-options[popover] > span > .lr-comic-tip-wrap > .lr-btn.is-compact,
+.lr-header-options[popover] .lr-help-content nav .lr-btn.is-compact { justify-content: flex-start; width: calc(100% + 16px); margin-inline: -8px; padding-inline: 8px; }
+.lr-header-options .lr-help-content nav { gap: 0; }
.lr-top .lr-leds { width: var(--control-compact-size); height: var(--control-compact-size); padding: 0; justify-content: center; }
.lr-top .lr-leds-label { display: none; }