all repos — searchix @ e500a1089797eee1b027d5237b2e4f140004098c

Search engine for NixOS, nix-darwin, home-manager and NUR users

feat: add message for users with javascript disabled

Alan Pearce
commit

e500a1089797eee1b027d5237b2e4f140004098c

parent

8ef4bc9b1f16dd6395d0e0daa85ada9b8db12015

2 files changed, 9 insertions(+), 0 deletions(-)

jump to
M frontend/static/style.cssfrontend/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.templinternal/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> } }