about summary refs log tree commit diff stats
path: root/internal/components/combined.go
diff options
context:
space:
mode:
authorAlan Pearce2025-03-23 23:58:52 +0100
committerAlan Pearce2025-03-23 23:58:52 +0100
commit4fa3ceb5ac040a84f2da405c46e4af1231d22f17 (patch)
tree6a9015a9c062f9d0346569401a78eb323ab026b1 /internal/components/combined.go
parent1c56ff7fc392f2d7992e53add5bd76bc8855d4a6 (diff)
downloadsearchix-4fa3ceb5ac040a84f2da405c46e4af1231d22f17.tar.lz
searchix-4fa3ceb5ac040a84f2da405c46e4af1231d22f17.tar.zst
searchix-4fa3ceb5ac040a84f2da405c46e4af1231d22f17.zip
feat: improve handling of long option descriptions
Diffstat (limited to 'internal/components/combined.go')
-rw-r--r--internal/components/combined.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/components/combined.go b/internal/components/combined.go
index fe97e14..8c2dc34 100644
--- a/internal/components/combined.go
+++ b/internal/components/combined.go
@@ -31,7 +31,7 @@ func Combined(result *index.Result) g.Node {
 				Th(Scope("col"), g.Text("Attribute")),
 				Th(Scope("col"), g.Text("Description")),
 				g.If(config.DevMode,
-					Th(Scope("col"), g.Text("Score")),
+					Th(Scope("col"), Class("score"), g.Text("Score")),
 				),
 			),
 		),
@@ -41,7 +41,7 @@ func Combined(result *index.Result) g.Node {
 					Td(
 						openCombinedDialogLink(nix.GetKey(hit.Data)),
 					),
-					Td(
+					Td(Class("description"),
 						CombinedData(hit.Data),
 					),
 					g.If(config.DevMode,