all repos — searchix @ 973345ad50f9b237714fcb364cf7f665b3909f9d

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

feat: paginate search results

Alan Pearce
commit

973345ad50f9b237714fcb364cf7f665b3909f9d

parent

f459e84ecf7307fe2eeb7fbaa5b0c50613ec04f4

1 file changed, 22 insertions(+), 1 deletion(-)

changed files
M frontend/static/style.cssfrontend/static/style.css
@@ -41,13 +41,20 @@ }
} form { - margin-top: 1.5rem; + margin: 1.5rem 0; } fieldset { display: flex; column-gap: 1ex; border: none; + padding: unset; + margin: unset; +} + +section { + border-top: none; + margin: unset; padding: unset; }
@@ -83,3 +90,17 @@
pre:has(> code) { background: var(--bg); } + +section { + nav { + display: flex; + justify-content: space-between; + align-items: baseline; + a[rel="next"] { + margin-left: auto; + } + } + footer { + text-align: center; + } +}