feat(web): settings rows on one line with icon actions

Each root and policy row is one line: identity left, chips at the right
edge, then pencil/trash icon controls — the episode-row idiom instead of
a two-line group. Every icon action's aria-label names the action and
the row (edit root /mnt/media/tv/main). Delete keeps the arm-then-confirm
behaviour via the shared armedDeleteIcon; the local text-button
armedDelete is gone with it. Under 46rem the row wraps like an episode
row: identity, chips full-width, actions keeping the right edge.

Closes #231

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-08-25 11:19:05 +01:00
co-authored by Claude Fable 5
parent df1af383a3
commit 955a0f309c
2 changed files with 44 additions and 57 deletions
+23 -2
View File
@@ -1957,11 +1957,32 @@ body {
/* ---- settings (issue #116) -------------------------------------------- */
/* rows follow the queues pattern: line, then an action pair */
/* one machined line per row (#231): identity, chips at the right edge,
then the icon action pair — the episode-row idiom, not a two-line group */
.settings-row-actions {
display: flex;
align-items: center;
gap: var(--space-2);
margin: var(--space-1) 0 var(--space-2);
margin-left: var(--space-3);
}
.settings-row .row-title {
overflow-wrap: anywhere;
}
/* feedback and the edit panel drop below the line, full width */
.settings-row .add-note,
.settings-row .edit-panel {
flex-basis: 100%;
}
/* narrow, the row wraps like an episode row: identity first, chips
full-width (the shared .row-chips rule), the icon pair keeps the right
edge. Lives here, after the base rule, so the margin actually flips. */
@media (max-width: 46rem) {
.settings-row-actions {
margin-left: auto;
}
}
.form-grid {