From ae589eed92be37ae9e12c7ba5ce50c85a0f7a4d5 Mon Sep 17 00:00:00 2001 From: elpatron Date: Sat, 20 Jun 2026 11:29:45 +0200 Subject: [PATCH] Fix PWA install hint dismiss button not hiding the banner. display: flex on .pwa-hint overrode the hidden attribute; bump static cache to v4. Co-authored-by: Cursor --- static/style.css | 4 ++++ static/sw.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 04ae89f..316617a 100644 --- a/static/style.css +++ b/static/style.css @@ -856,6 +856,10 @@ body.inv-chart-modal-open { } /* PWA install hint */ +.pwa-hint[hidden] { + display: none; +} + .pwa-hint { display: flex; align-items: flex-start; diff --git a/static/sw.js b/static/sw.js index ea93022..b14e77f 100644 --- a/static/sw.js +++ b/static/sw.js @@ -1,4 +1,4 @@ -const CACHE = "if-viewer-static-v3"; +const CACHE = "if-viewer-static-v4"; const ASSETS = [ "/static/style.css", "/static/favicon.svg",