From 12a3c62917b0c24e104fb4fa7af0400d555e0936 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sun, 22 Mar 2026 00:00:44 +0100 Subject: [PATCH] [fix](trx-frontend-http): fix play button icon not filling header button Bump selector specificity to .header-bar-btn.header-audio-btn so the padding: 0 rule wins over the generic .header-bar-btn padding, and switch the SVG to width/height: 100% so it expands to fill the button. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Stan Grams --- .../trx-frontend/trx-frontend-http/assets/web/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css index f86fa88..c97f91a 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/style.css @@ -1026,11 +1026,11 @@ small { color: var(--text-muted); } gap: 0.6rem; min-width: 0; } -.header-audio-btn { +.header-bar-btn.header-audio-btn { width: 2rem; height: 2rem; min-height: 0; - padding: 0; + padding: 2px; display: flex; align-items: center; justify-content: center; @@ -1042,8 +1042,8 @@ small { color: var(--text-muted); } flex-shrink: 0; } .header-audio-btn svg { - width: 1.5rem; - height: 1.5rem; + width: 100%; + height: 100%; } .header-audio-btn.audio-active { color: var(--accent-green);