From 0fa3e675dc3a362b9afeb121d00ea4d48ecd227b Mon Sep 17 00:00:00 2001 From: timmy Date: Sat, 8 Aug 2026 06:26:13 +0000 Subject: [PATCH] fix: keep sign-in retry state within mobile viewport (#270) --- src/views.py | 2 +- tests/test_login_frontend.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views.py b/src/views.py index e285f37..41b3373 100644 --- a/src/views.py +++ b/src/views.py @@ -11,7 +11,7 @@ SERVICE_WORKER_FILE = DASHBOARD_FILE.parent / "service-worker.js" LOGIN_HTML = """ Sign in ยท Stackchain Dashboard - +

Operator sign in

Enter the dashboard access token. It is exchanged for a private, short-lived session and is never stored on this device.

""" diff --git a/tests/test_login_frontend.py b/tests/test_login_frontend.py index 1f1dc7e..e213be0 100644 --- a/tests/test_login_frontend.py +++ b/tests/test_login_frontend.py @@ -57,3 +57,4 @@ async def test_login_page_loads_rate_limit_controller(): html = await login() assert '' in html + assert "main{box-sizing:border-box" in html -- 2.43.0