From 170a88cf7d3bd81ee96fdf3cd2a7c3a5a7f2a2a8 Mon Sep 17 00:00:00 2001
From: Kat <00-kat@proton.me>
Date: Tue, 24 Mar 2026 02:34:31 +1100
Subject: [PATCH] cmd/pkgserver: add noscript warning to test web UI
---
cmd/pkgserver/ui_test/lib/ui.html | 7 +++++++
cmd/pkgserver/ui_test/lib/ui.scss | 6 +++++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/cmd/pkgserver/ui_test/lib/ui.html b/cmd/pkgserver/ui_test/lib/ui.html
index f4c4b7f9..d1f503a7 100644
--- a/cmd/pkgserver/ui_test/lib/ui.html
+++ b/cmd/pkgserver/ui_test/lib/ui.html
@@ -7,6 +7,13 @@
PkgServer Tests
+
+
PkgServer Tests
diff --git a/cmd/pkgserver/ui_test/lib/ui.scss b/cmd/pkgserver/ui_test/lib/ui.scss
index ae75c721..9d6d4221 100644
--- a/cmd/pkgserver/ui_test/lib/ui.scss
+++ b/cmd/pkgserver/ui_test/lib/ui.scss
@@ -15,10 +15,14 @@ html {
color: var(--fg);
}
-h1, p, summary {
+h1, p, summary, noscript {
font-family: sans-serif;
}
+noscript {
+ font-size: 16pt;
+}
+
.root {
margin: 1rem 0;
}