UI pass: controls of one kind line up and have one size

Remote access uses the same switch as demo mode and one column for its controls.
Button rows in settings get equal widths, checkboxes one look, link grids even
rows with their buttons aligned. No half-empty rows in the channel view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-02 18:56:08 +01:00
1 parent 28624caead
commit 7932ef62c7
2 files changed
+30 -10

No files matched your search

+19 -1
View File
@@ -690,7 +690,7 @@ button.devitem.paused, button.devitem:disabled { opacity: .45; cursor: not-allow
.setgrid > .card > p.info { margin: 0 0 12px; }
.setgrid > .card > :last-child { margin-top: auto; } /* buttons and switches line up at the bottom of each row */
.setgrid > .card > .actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 14px; }
.setgrid > .card > .actions button { flex: 1 1 auto; }
.setgrid > .card > .actions button { flex: 1 1 0; min-width: max-content; }
.setgrid > .card .devform { align-content: start; }
.setgrid .seg { width: 100%; }
.setgrid .seg button { min-height: 40px; }
@@ -996,3 +996,21 @@ body.dashonly .dlink { cursor: default; }
.djlim input[type=range] { width: 100%; margin: 8px 0 4px; }
.row.djurl button.small { flex: 0 0 auto; width: auto; padding-inline: 14px; }
.row.djurl code { flex: 1 1 auto; }
/* ---- UI pass: controls of one kind line up and have one size */
.kv { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.kv > span { flex: 1; min-width: 0; }
.kvc { flex: 0 0 180px; display: flex; gap: 6px; align-items: stretch; }
.kvc button { flex: 1; }
.kvc input.short { flex: 0 0 76px !important; }
.setgrid > .card > div.info { margin: 0 2px 10px; }
.setgrid > .card > .remote-urls { margin-top: 10px; }
label.chk { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
label.chk input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.paramgrid { display: grid; gap: 2px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card:has(> .lkgrid) { display: flex; flex-direction: column; container-type: inline-size; }
.lkgrid { grid-template-columns: repeat(2, 1fr); }
@container (min-width: 280px) { .lkgrid { grid-template-columns: repeat(4, 1fr); } }
.lkch { min-width: 0; padding-inline: 4px; }
.lkactions { margin-top: auto; padding-top: 10px; }
.labcards .card > .row > button:only-child { flex: 1 1 100%; }
@media (max-width: 1150px) { .firsep { flex-basis: 100%; width: auto; height: 0; margin: 0; } }