all repos — searchix @ 3a04aefd4233216ef4c56dbc5befcc5b102f5201

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

feat: improve results/facets display on narrow screens

Alan Pearce
commit

3a04aefd4233216ef4c56dbc5befcc5b102f5201

parent

8acfcb9f668152007376c851be9caf93fe455096

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

changed files
M frontend/static/style.cssfrontend/static/style.css
@@ -71,7 +71,7 @@ row-gap: 1rem;
} form > search { - grid-column: 1 / 3; + grid-column: 1 / span 2; } fieldset {
@@ -311,9 +311,31 @@ th {
padding: 0.2rem; } + tr, + .term { + height: 2rem; + } + .description, .score { display: none; + } + + form { + grid-template-columns: 1fr; + column-gap: 0; + } + + form > search { + grid-column: 1; + } + + .facets { + grid-area: 3; + } + + #results > table { + grid-area: 2; } dialog {