Compare commits

..

No commits in common. "4602347a8038958b3a49e19032939da136561a6a" and "0427b3079e3122b11329fdac5bf3403d4c043416" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<title>Stackchain Dashboard</title> <title>Stackchain Dashboard</title>
<style> <style>
:root { color-scheme: dark; --bg:#050c15; --panel:#0b1526; --line:#1b2d45; --text:#e5e7eb; --accent:#60a5fa; } :root { color-scheme: dark; --bg:#050c15; --panel:#0b1526; --line:#1b2d45; --text:#e5e7eb; --accent:#60a5fa; }

View File

@ -10,12 +10,3 @@ async def test_dashboard_renders_outside_repository_working_directory(monkeypatc
html = await dashboard() html = await dashboard()
assert "Stackchain Dashboard" in html assert "Stackchain Dashboard" in html
@pytest.mark.anyio
async def test_dashboard_viewport_allows_mobile_zoom():
html = await dashboard()
assert 'name="viewport"' in html
assert "width=device-width" in html
assert "user-scalable=no" not in html