all repos — searchix @ 1b8b6b506b0855afc282bc1cc7b631f02e97b8e3

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

feat: hide description table on smaller screens

Alan Pearce
commit

1b8b6b506b0855afc282bc1cc7b631f02e97b8e3

parent

852f563e22a1c3a257fdc58af2d427872e8beefe

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M internal/components/combined.gointernal/components/combined.go
@@ -29,7 +29,7 @@ return Table(
THead( Tr( Th(Scope("col"), g.Text("Attribute")), - Th(Scope("col"), g.Text("Description")), + Th(Scope("col"), Class("description"), g.Text("Description")), g.If(config.DevMode, Th(Scope("col"), Class("score"), g.Text("Score")), ),
@@ -45,7 +45,7 @@ Td(Class("description"),
CombinedData(hit.Data), ), g.If(config.DevMode, - Td( + Td(Class("score"), Score(hit), ), ),