feat: add message for users with javascript disabled
Alan Pearce alan@alanpearce.eu
Tue, 25 Jun 2024 09:56:28 +0200
2 files changed, 9 insertions(+), 0 deletions(-)
M frontend/static/style.css → frontend/static/style.css
@@ -181,3 +181,7 @@ display: inline-block; margin-right: 1ex; list-style: none; } + +p:last-child { + margin-bottom: unset; +}
M internal/components/search.templ → internal/components/search.templ
@@ -30,5 +30,10 @@ </section> <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> } }