From 7102fdb23ac299ba5012f81a702a6bed16e3b58b Mon Sep 17 00:00:00 2001 From: Teigen Date: Sat, 13 Jun 2026 16:17:00 +0800 Subject: [PATCH] fix(mobile): restore response-viewer eye button on phones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The header-right tray (02fa3f3) was reworked into a position:fixed collapsible panel with a hamburger toggle, but the toggle button, its JS, and CSS were later reverted on master while the container kept a static `mobile-collapsed` class. With no expand mechanism left, the header-right stayed display:none on mobile, so the response-viewer eye icon was unreachable even with "Response Viewer" enabled — desktop was fine because the media-query rule doesn't apply there. Restore the simple inline always-visible header-right layout (dev's known-good state). The showResponseViewer setting still controls the eye's --hidden marker class. Verified on iPhone viewport: eye visible (26x26) with setting on, hidden with setting off, tap opens the viewer; desktop eye unaffected. --- src/web/public/index.html | 2 +- src/web/public/mobile.css | 51 ++++----------------------------------- 2 files changed, 6 insertions(+), 47 deletions(-) diff --git a/src/web/public/index.html b/src/web/public/index.html index ba30557b..b759f4f4 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -81,7 +81,7 @@ -
+