From d49b379481bee0fa09b31ed79350498a9573f255 Mon Sep 17 00:00:00 2001 From: Stanislaw Grams Date: Fri, 13 Feb 2026 08:56:29 +0100 Subject: [PATCH] [fix](trx-frontend-http): hide all tab panels when showing auth gate When logout is clicked from the About tab, hide all tab panels to prevent tab content from showing behind the login window. Also ensures auth gate is displayed cleanly without any stray content visible behind it. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Stanislaw Grams --- .../trx-frontend/trx-frontend-http/assets/web/app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js index dc9111a..4aedb24 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js @@ -71,6 +71,11 @@ function showAuthGate(allowGuest = false) { document.getElementById("auth-gate").style.display = "block"; document.getElementById("tab-bar").style.display = "none"; + // Hide all tab panels + document.querySelectorAll(".tab-panel").forEach(panel => { + panel.style.display = "none"; + }); + // Show guest button if guest mode is available const guestBtn = document.getElementById("auth-guest-btn"); if (guestBtn) {