From 84ac6ad88af908a18c17c7bba392d7e79fb736d1 Mon Sep 17 00:00:00 2001 From: Tom Ernst Date: Sat, 12 Sep 2026 00:28:24 +0200 Subject: [PATCH] [verified] style: restore inline Play label --- app/static/app.js | 4 +--- app/static/style.css | 10 ---------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/app/static/app.js b/app/static/app.js index 4a68d3b..a6b624c 100644 --- a/app/static/app.js +++ b/app/static/app.js @@ -52,9 +52,7 @@ function render() { const track = el('p', 'track', zone.error || trackText); const controls = el('div', 'controls'); for (const [icon, label, action] of [['▶','Play','play'], ['■','Stop','stop']]) { - const button = el('button', action === 'play' ? 'stacked-play' : null); - if (action === 'play') button.append(el('span', 'play-icon', icon), el('span', null, label)); - else button.textContent = `${icon} ${label}`; + const button = el('button', null, `${icon} ${label}`); button.disabled = Boolean(zone.error); button.onclick = () => act(`/api/zones/${encodeURIComponent(zone.uid)}/transport`, 'POST', {action}); controls.append(button); } diff --git a/app/static/style.css b/app/static/style.css index f78760f..31fe04a 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -107,16 +107,6 @@ button:hover, button:focus { .controls button { flex: 1; } .controls + label { margin-top: 4px; } -.controls .stacked-play { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - gap: 1px; - line-height: 1; -} - -.play-icon { line-height: 1; } .danger { color: var(--danger); } .eq-controls { -- 2.54.0