about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--frontend/static/style.css4
-rw-r--r--internal/components/search.templ5
2 files changed, 9 insertions, 0 deletions
diff --git a/frontend/static/style.css b/frontend/static/style.css
index 184ded5..60b38c8 100644
--- a/frontend/static/style.css
+++ b/frontend/static/style.css
@@ -181,3 +181,7 @@ li {
   margin-right: 1ex;
   list-style: none;
 }
+
+p:last-child {
+  margin-bottom: unset;
+}
diff --git a/internal/components/search.templ b/internal/components/search.templ
index 2cae754..e5d3446 100644
--- a/internal/components/search.templ
+++ b/internal/components/search.templ
@@ -30,5 +30,10 @@ templ SearchPage(tdata TemplateData, r ResultData) {
 		<dialog id="dialog">
 			<button autofocus>Close</button>
 		</dialog>
+		<noscript>
+			<p class="notice">
+				Everything should work fine without JavaScript. If that is not the case, <a href="https://todo.sr.ht/~alanpearce/searchix">report an issue</a>
+			</p>
+		</noscript>
 	}
 }