From 4bd2fd1b78b5ef07b315603b3251cdff68f2f1cc Mon Sep 17 00:00:00 2001 From: Phat Pham Date: Tue, 23 Jun 2026 20:16:40 +0700 Subject: [PATCH] feat: restyle update/install controls as icon+text header pills MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the full-width "new version" banner with a compact rocket icon + "New version" pill in the header, right before the install button, and restyles install the same way (download icon + "Install"). Both share a new .pill-button style; header-actions gets flex-wrap so the row degrades gracefully if both happen to be visible at once on a narrow screen. Also adds a "Don't show again" option to the install dialog (persisted in localStorage, kept even on iOS where there's no native prompt to confirm) and fixes .config-dialog-actions sitting at the left of its footer row when it's the row's only child — it now stays right-aligned regardless of whether a meta line is also present. Co-Authored-By: Claude Sonnet 4.6 --- core/render.ts | 17 +++++++--- web-static/static/app.js | 43 +++++++++++++++++++------ web-static/static/style.css | 62 +++++++++++++++++++------------------ 3 files changed, 78 insertions(+), 44 deletions(-) diff --git a/core/render.ts b/core/render.ts index 25ce27c..b0ca41d 100644 --- a/core/render.ts +++ b/core/render.ts @@ -157,10 +157,6 @@ export function renderIndexPage(data: PageData): string {