From 2a7e7e7b47b23d53617a94021940494c0c9bc513 Mon Sep 17 00:00:00 2001 From: mram Date: Tue, 22 Sep 2026 19:01:44 +0200 Subject: [PATCH] Web UI: equal-width buttons, hotkey letter highlighted inside the label --- cmd/gpu-turnstile/webui.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/gpu-turnstile/webui.go b/cmd/gpu-turnstile/webui.go index 6be4e30..9e7b994 100644 --- a/cmd/gpu-turnstile/webui.go +++ b/cmd/gpu-turnstile/webui.go @@ -109,8 +109,9 @@ const uiPage = ` footer { border-top:1px solid #333; margin-top:10px; padding-top:8px; display:flex; gap:8px; align-items:center; } button { background:#1d1d1d; color:#bbb; border:1px solid #444; border-radius:4px; - padding:2px 10px; font:inherit; cursor:pointer; } + padding:2px 10px; font:inherit; cursor:pointer; min-width:14ch; text-align:center; } button:hover { background:#2c2c2c; color:#eee; } + button .key { color:#26c6da; } .dim { color:#777; } .up { color:#4caf50; } .down { color:#ef5350; } .llm { color:#26c6da; } .warn { color:#fbc02d; } #note { color:#fbc02d; min-height:1.6em; } @@ -123,8 +124,8 @@ const uiPage = `