From d126648749b103376c233c1df24346a941c70eb4 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 27 Oct 2026 16:57:34 +0100 Subject: web: dev script must copy index.html too (viewport meta never deployed) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit serve-here.sh only refreshed style.css and the wasm bundle, so the viewport meta change that frees the pinch gesture for the app never reached the served page. Copy the loader page as well, and surface the status line as a small overlay over the canvas when the control panel is collapsed (mobile) — this is also where the pinch pointer diagnostics become visible on phones. --- dist/wipfel/style.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'dist/wipfel/style.css') diff --git a/dist/wipfel/style.css b/dist/wipfel/style.css index a0ffc4d..baceb49 100644 --- a/dist/wipfel/style.css +++ b/dist/wipfel/style.css @@ -63,6 +63,21 @@ body { .nav-toggle:hover { background: rgba(59, 111, 212, 0.9); } +.canvasstatus { + position: absolute; + bottom: 6px; + left: 8px; + right: 8px; + font-size: 11px; + color: #e8e8ea; + background: rgba(16, 16, 20, 0.7); + padding: 3px 8px; + border-radius: 5px; + pointer-events: none; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} .sidebar h1 { margin: 0; font-size: 22px; -- cgit v1.2.3