From 0a30f00263b4df36e979d04f2bc12bc59cf0bcc6 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Sat, 7 Sep 2024 19:59:15 +0000 Subject: [PATCH 1/2] ui(wiki): fix search result overflow for long lines --- templates/repo/wiki/search.tmpl | 6 +++--- templates/repo/wiki/view.tmpl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/repo/wiki/search.tmpl b/templates/repo/wiki/search.tmpl index d3af9bdcb2..0bccd40840 100644 --- a/templates/repo/wiki/search.tmpl +++ b/templates/repo/wiki/search.tmpl @@ -1,9 +1,9 @@ {{if .Results}} {{range .Results}} - - {{.Filename}} + + {{.Filename}} {{range .LineCodes}} -

{{.}}

+

{{.}}

{{end}}
{{end}} diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index 19b6968796..40af307524 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -28,16 +28,16 @@ -
+
{{template "repo/clone_buttons" .}} {{template "repo/clone_script" .}}
-