From 2ae3cf4088e05b39588694dc5751742ffca91738 Mon Sep 17 00:00:00 2001 From: Fl1tzi Date: Mon, 19 Jun 2023 22:58:47 +0200 Subject: [PATCH] [GITEA] [UI] Wiki: Move TOC and Sidebar to top on Mobile Related issue: #499 This moves the TOC and the Sidebar to the top when a mobile phone is used. This behavior is basically the same as the one on the Home page. (cherry picked from commit ca3c471537d83a68d70f02100357693e83187f93) (cherry picked from commit 2ce79687ebd4b855636b9888b13f47615371d578) --- templates/repo/wiki/view.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index ee9a3b2142..b6efa96a01 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -63,7 +63,7 @@

{{.FormatWarning}}

{{end}} -
+
{{template "repo/unicode_escape_prompt" dict "EscapeStatus" .EscapeStatus "root" $}} {{.content | Safe}}